failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH

问题描述:

安装graphviz之后,使用时出现如下错误

failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH

解决方法:

1. 下载并安装graphviz

https://graphviz.gitlab.io/_pages/Download/Download_windows.html

failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH_第1张图片

2. 设置环境变量

(1). 设置用户环境变量

failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH_第2张图片

(2). 设置系统环境变量

failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH_第3张图片

3. 检验是否安装成功

命令行输入:dot -version

failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH_第4张图片

4. python安装graphviz

failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH_第5张图片

 

你可能感兴趣的:(failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH)