I\'m having trouble running Python\'s pydot on Windows 7.
I installed pydot with: conda install -c rmg pydot=1.2.2
I have graphviz installed under
On Ubuntu 18.04 installing the binaries with sudo apt-get install graphviz
led to dot
being placed under /usr/bin/dot
(it might go to /usr/local/bin/dot
per their installation guide).
After doing:
pip3 install pydot-ng
and adding the following lines (similar to @Ernest's answer in Linux) to the script it worked:
import os
os.environ["PATH"] += os.pathsep + "/usr/bin/dot"