如何在 Windows 10 上安装 graphviz-2.38

2022-01-10 00:00:00 python windows anaconda installation

问题描述

我知道这是基本的,但我很困惑.我以前从未在 Windows 操作系统上安装过 python 包……只有 Linux.

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

我下载了 graphviz-2.38 zip 并将其移至我的 Anaconda 包目录.我解压了,然后在命令行试了一下:

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

这是我得到的错误:

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

我在 graphviz 中根本看不到任何设置文件,所以我有点迷茫.

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


解决方案

随便用:

pip install graphviz

相关文章