Pygraphviz Valueerror: Program Dot Not Found In Path (python)
I am having problem with pygraphviz on win7(64). I installed Graphviz and then pygraphviz. When I try to compile my code G=pgv.AGraph() d={'1': {'2': None}, '2': {'1': None, '3': N
Solution 1:
You may get this problem even if you have PyGraphviz installed, if the PyGraphviz bin directory has not been added to the path. I had this problem on windows (after installing PyGraphviz with .msi).
To resolve, add the bin directory (e.g. C:\Program Files (x86)\Graphviz2.38\bin) to the PATH system variable, e.g. on Win7:
System Properties -> Environment Variables -> System Varibales -> PATH -> Edit...
Solution 2:
If you have Anaconda installed the simplest way to go about this is run the following from CMD:
conda install graphviz
you might also need the following:
conda install pydot-ng
Post a Comment for "Pygraphviz Valueerror: Program Dot Not Found In Path (python)"