‘Failed to import pydot. You must `pip install pydot` and install graphviz

 

问题描述:
出现('Failed to import pydot. You must pip install pydot and install graphviz (https://graphviz.gitlab.io/download/), ', ‘for pydotprint to work.’)问题,如何解决,三步搞定,亲测有效!

解决方案:
1、pip install pydot
pip install graphviz
pip install pydot-ng
2、按照此链接https://graphviz.gitlab.io/download/#windows
下载
2.47.1 EXE installer for Windows 10 (64-bit): stable_windows_10_cmake_Release_x64_graphviz-install-2.47.1-win64.exe
3、安装添加环境变量
搞定!
参考:https://blog.csdn.net/qq_26822029/article/details/101000868

你可能感兴趣的:(跑程序常见问题归纳,windows)