Why is pydot unable to find GraphViz's executables in Windows 8?

前端 未结 27 2737
醉酒成梦
醉酒成梦 2020-11-27 14:26

I have GraphViz 2.32 installed in Windows 8 and have added C:\\Program Files (x86)\\Graphviz2.32\\bin to the System PATH variable. Still pydot is unable to find its executab

27条回答
  •  醉酒成梦
    2020-11-27 14:53

    I had this issue and noticed that it was printing my PATH with two sets of double-quotes. I worked around the problem by adding the following to Line 1959 of:

    C:\Anaconda\Lib\site-packages\pydot.py
    
    self.progs[prog] = os.path.normpath(self.progs[prog][1:-1])
    

    Obviously not the best fix but it got me through the day.

提交回复
热议问题