How to install graphviz-2.38 on windows 10
I faced the same issue and just pip install graphviz
didn't work for me.
In addition, I installed the binaries and set the bin folder in the Windows environment PATH
variable, and then it worked.
P.S. this solution installs the 0.8.2 version but works for keras.utils.vis_utils.plot_model
which was the problem for me
If you are using Conda, then run the following: conda install -c anaconda graphviz
Be sure though to run the conda cmd as Admin for avoiding privileges permission errors. The above command will update / install all the requirement, and graphviz will be available in the default environment at C:\ProgramData\Anaconda3 (for windows...Not sure for MAC).
Just use:
pip install graphviz
For me just installing the graphviz
library dint work. It was not able to open dot
files. So I had to do the following:
- Download the stable
Graphviz
version by clickingStable 2.38 Windows install packages
from here - Install
Graphviz
library usingpip install graphviz
- Since you're using windows, check out the installed tool called GVEdit (just search in the start menu), it makes the whole process slightly easier.
- The
dot
files can be opened by selectingFile --> Open