graphviz安装问题(win 10)记录

@graphviz安装成功!遇到的问题以及解决办法记录

问题1.

win10, pycharm
安装graphviz之后运行代码,出现make sure the Graphviz executables are on your systems’ PATH的错误

解决办法:
https://blog.csdn.net/c_daofeng/article/details/81077594

graphviz是个软件,不能单独用Pip安装

首先,下载graphviz的安装包 ,地址:https://graphviz.gitlab.io/_pages/Download/Download_windows.html
安装

设置环境变量:
用户变量:加入Path:
C:\Program Files\Graphviz 2.44.1\bin

系统变量:加入Path:
C:\Program Files\Graphviz 2.44.1\bin\dot.exe
C:\Program Files\Graphviz 2.44.1\bin

重新pip3 install graphviz

重启pycharm

问题1解决,出现问题2.

**

问题2.

**
graphviz.backend.CalledProcessError: Command '[‘dot’, ‘-Tpdf’, ‘-O’, ‘iristree’]

CalledProcess

你可能感兴趣的:(python,library,python,ai)