问题描述:

安装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

2. 设置环境变量

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

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

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

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

3. 检验是否安装成功

命令行输入:dot -version

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

4. python安装graphviz

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

 

相关文章:

  • 2021-04-16
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2021-09-24
猜你喜欢
  • 2021-11-30
  • 2021-08-21
  • 2021-09-27
  • 2021-06-27
  • 2021-07-15
  • 2021-06-02
相关资源
相似解决方案