1. 程式人生 > >Ubuntu pydot failed to call GraphViz.Please install GraphViz 解決方法

Ubuntu pydot failed to call GraphViz.Please install GraphViz 解決方法

如果遇到:

OSError: `pydot` failed to call GraphViz.Please install GraphViz (https://www.graphviz.org/) and ensure that its executables are in the $PATH.

Ubuntu 下解決方法:

sudo apt install graphviz

或者嘗試安裝:

pip install pydot
pip install pydot-ng
pip install graphviz