jupyter中运行graphviz出现failed to execute WindowsPath(‘dot‘), make sure the Graphviz executables are on

jupyter中运行graphviz出现failed to execute WindowsPath('dot'), make sure the Graphviz executables are on your systems' PATH的问题

问题所在:一般大家习惯pip install graphviz去安装,但是graphviz是个软件,不能单独用Pip安装

解决方案:先将自己安装好的卸载

pip uninstall graphviz

然后下载graphviz的安装包 ,网址:

https://graphviz.org/download/

建议安装位置:

D:\Anaconda\Lib\site-packages\graphviz

在安装过程中,一定要注意:将之加入到环境变量中去

如果没有加入请参考:

jupyter 报错failed to execute ‘dot‘, make sure the Graphviz executables are on your systems_m0_52118763的博客-CSDN博客

你可能感兴趣的:(jupyter,ide,python)