Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
324 views
in Technique[技术] by (71.8m points)

python - 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
ameAnaconda3pkgsgraphviz-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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...