ImportError: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work.

https://blog.csdn.net/ha010/article/details/103367311
https://blog.csdn.net/baidu_36161077/article/details/81058404
http://www.voidcn.com/article/p-voglshnf-bqh.html
https://blog.csdn.net/qq_43166422/article/details/105540575

  1. pip install pydot-ng, pip install graphviz (这个不知道还要不要)
  2. https://www2.graphviz.org/Packages/stable/windows/10/cmake/Release/Win32/ 下载,安装,记得添加到环境变量
  3. 以管理员身份运行cmd, 输入dot -c

posted on 2020-11-01 23:51  HolaWorld  阅读(234)  评论(0编辑  收藏  举报

导航