赞
踩
windows
python安装了graphviz包,使用时报错:failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH
在 https://graphviz.gitlab.io/_pages/Download/Download_windows.html 下载graphviz-2.38.zip
解压到D:\Program Files (x86)\graphviz2.38\release\bin
- import os
- os.environ["PATH"] += os.pathsep + 'D:/Program Files (x86)/Graphviz2.38/release/bin/'
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。