首页 > Web开发 > 详细

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

时间:2020-05-29 14:35:02      阅读:53      评论:0      收藏:0      [点我收藏+]

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.错误解决办法

原文:https://www.cnblogs.com/dyc99/p/12987085.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!