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

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

    I too had the same issue and I finally resolved it by having a look at the library.

    The library considers making the path set as C:\Program Files\ATT\Graphviz\bin but by default Graphviz is installed to C:\Program Files(x86)\Graphviz undergoing the 32-bit criteria hence the pydot fails in getting the required path. Simply shift the directory as required by the script and you're good to go.

    P.S.:- Consider making the equivalent changes to the Environmnet Variable.

    P.S.S:- Also check if Graphviz is directly under Program Files(x86) or under ATT.

提交回复
热议问题