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

Windows10

  • 安装相应模块
pip install pydot-ng
pip install graphviz
pip install pydot
  • 安装graphviz-2.38.msi

https://www.softpedia.com/get/Others/Miscellaneous/Graphviz.shtml#download

  • 配置环境

在系统环境变量【Path】中添加变量【F:\Program Files (x86)\Graphviz2.38\bin】即可

Linux

  • Ubuntu
sudo apt install python-pydot python-pydot-ng graphviz
  • CentOS
sudo yum install python-pydot python-pydot-ng graphviz

 

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

上一篇:mac下安装Java开发环境


下一篇:C#与.NET、CLR、CLI是什么关系?什么是.NET框架