安装graphviz之后出现make sure the Graphviz executables are on your systems' PATH的错误

 

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

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

如图所示,我安装包的位置

安装graphviz之后出现make sure the Graphviz executables are on your systems' PATH的错误_第1张图片

其次,将安装包的位置添加到变量环境中,如图所示:

安装graphviz之后出现make sure the Graphviz executables are on your systems' PATH的错误_第2张图片

操作分两步:

              (1)在用户变量“path”里添加 D:\Anaconda\anaconda\envs\tensorflow\Library\bin\graphviz

            安装graphviz之后出现make sure the Graphviz executables are on your systems' PATH的错误_第3张图片

           (2)在系统变量的“path”里添加 D:\Anaconda\anaconda\envs\tensorflow\Library\bin\graphviz\dot.exe

           安装graphviz之后出现make sure the Graphviz executables are on your systems' PATH的错误_第4张图片

最后,重启环境就可以了。

 

 

你可能感兴趣的:(深度学习)