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

前端 未结 27 2742
醉酒成梦
醉酒成梦 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:35

    after doing all the installation of graphviz, adding to the PATH of environment variables, you need to add these two lines:

    import os
    os.environ["PATH"] += os.pathsep + 'C:/Program Files (x86)/Graphviz2.38/bin/'
    

提交回复
热议问题