问题: 使用pip install graphviz安装好后,跑程序报以下错误
failed to execute ['dot', '-Tpdf', '-O', 'test-output/round-table.gv'], make sure the Graphviz executables are on your systems' path
解决方法:
1.卸载graphviz
pip uninstall graphviz
2.运行下面两条命令
sudo apt-get install graphviz
pip install graphviz
解决方法参考: https://www.e-learn.cn/content/wangluowenzhang/162711