Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 packages directory. I unzipped it, and then on the command line tried:

C:\Users\name\Anaconda3\pkgs\graphviz-2.38> pip install graphviz-2.38

This is the error I got:

Could not find a version that satisfies the requirement graphviz-2.38 (from 
versions: )
No matching distribution found for graphviz-2.38

I don't see any setup file within graphviz at all, so I'm a little lost.

like image 535
adurbin Avatar asked Jul 14 '17 00:07

adurbin


People also ask

How do I find my graphviz version on Windows?

Run "dot -V" from the command prompt. If GraphViz is installed and configured you'll get it's version.

How do I add a graphviz to my path?

Graphviz on Windows In Advance settings, a dialogue box opens that shows the Environment Variables button. Click the button. Select the entry Path in the system variables section and add C:\Program Files (x86)\GraphvizX. XX\bin to the existing path.


1 Answers

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

like image 99
Hemerson Tacon Avatar answered Sep 20 '22 08:09

Hemerson Tacon