“dot.exe” not found in path. Pydot on Python (Windows 7)

前端 未结 8 1507
挽巷
挽巷 2021-01-31 10:04

I\'m having trouble running Python\'s pydot on Windows 7.

I installed pydot with: conda install -c rmg pydot=1.2.2

I have graphviz installed under

8条回答
  •  梦谈多话
    2021-01-31 10:10

    Other solutions didn't work for me, and I figured out pydot tried to run a hardcoded dot.bat so I just created dot.bat wrapper nearby dot.exe and it worked:

    @echo off
    dot %*
    

提交回复
热议问题