How to install graphviz-2.38 on windows 10

I know this is basic, but I'm pretty stuck. I have never installed python packages on Windows OS before ... only Linux.

I downloaded the graphviz-2.38 zip file and moved it to the Anaconda packages directory. I unpacked 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 received:

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 at all in graphviz, so I'm a little lost.

+3


source to share


3 answers


Just use:



pip install graphviz

      

0


source


If you are using Conda do the following: conda install -c anaconda graphviz



Make sure to run the cmd console as administrator to avoid privilege permission errors. The above command will update / fulfill all required requirements and graphviz will be available in the default environment at C: \ ProgramData \ Anaconda3 (for Windows ... Not sure for MAC).

+1


source


I faced the same problem and it just pip install graphviz

didn't work for me. Also, I installed the binaries and set the bin folder to a PATH

Windows environment variable and then it worked.

PS this solution installs version 0.8.2 but works for keras.utils.vis_utils.plot_model

what was the problem for me

+1


source







All Articles