code2flow在路径中找不到graphviz

2024-09-27 04:18:51 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图让some code运行,但触发了一个错误:

if not isInstalled('dot') and not isInstalled('dot.exe'):
    print "You must have graphviz (specifically dot) installed to run code2flow"
    sys.exit(1)

哪个叫

^{pr2}$

但我不明白为什么会失败。我的路径包含graphviz

> echo %PATH%

...;c:\Program Files (x86)\Graphviz2.38\bin;...

文件已经存在了

> dir "c:\Program Files (x86)\Graphviz2.38\bin\dot.exe"

Directory of c:\Program Files (x86)\Graphviz2.38\bin

04/14/2014 09:22 AM 7,680 dot.exe

有什么问题吗?在


Tags: andifbin错误notcodesomefiles

热门问题