Skip to content Skip to sidebar Skip to footer

How To Install Graphviz-2.38 On Windows 10

I know this is basic, but I'm pretty stuck. I've never installed python packages on Windows OS before... only Linux. I downloaded the graphviz-2.38 zip and moved it to my Anaconda

Solution 1:

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

Solution 2:

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).

Solution 3:

For me just installing the graphviz library dint work. It was not able to open dot files. So I had to do the following:

  1. Download the stable Graphviz version by clicking Stable 2.38 Windows install packages from here
  2. Install Graphviz library using pip install graphviz
  3. 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.
  4. The dot files can be opened by selecting File --> Open

Solution 4:

Solution 5:

For Conda users:

1. conda install graphviz

2. conda install python-graphviz

Post a Comment for "How To Install Graphviz-2.38 On Windows 10"