I am running Python3.4 on Windows 7. I am trying to use the Python interface for graphviz. This is a script I intend to run:
from graphviz import Digraph
imp
I had the same issue with Windows 10.
First, I installed graphviz-2.38.0 with the following command without any problem...
install -c anaconda graphviz=2.38.0
Second, I installed pydotplus with the following command without any problem...
install -c conda-forge pydotplus
After that, when I got to my step to visualize my decision tree had the following issue with {InvocationException: GraphViz's executables not found}...
C:\Users\admin\Anaconda3\lib\site-packages\pydotplus\graphviz.py in create(self, prog, format)
1958 if self.progs is None:
1959 raise InvocationException(
-> 1960 'GraphViz\'s executables not found')
1961
1962 if prog not in self.progs:
InvocationException: GraphViz's executables not found
In my case, all I had to do to fix it is to put the environment path of the graphviz executables in my user PATH environment variable and this fixed it. Just make sure it is the path where YOUR.exe files are located :)
C:\Users\admin\Anaconda3\pkgs\graphviz-2.38.0-4\Library\bin\graphviz