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
Tried many ways and here is what really solved the problem - it worked for both windows 8.1/10 & python 3 .
1 . pip install graphviz
2 . the key action needed is to set the path variable by following steps below:
a. Control Panel > System and Security > System > Advanced System Settings > Environment Variables > Path > Edit b. add 'C:\Program Files (x86)\Graphviz2.38\bin'