使用 anaconda 发行版安装 python-igraph (windows)

Install python-igraph with the anaconda distribution (windows)

我在 python 的 anaconda 发行版上安装 python-igraph 时遇到问题。

如果我在anaconda命令中写pip install python-igraph(有admin权限),安装不成功

查看他们网站上的文档:http://igraph.org/python/ 它说你需要下载 .msi 安装程序,pip 在 windows 下不起作用。这可能是因为您需要一个 C 编译器,而 windows 默认情况下不提供。

您可以从 http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-igraph 下载 wheel 安装程序,然后通过

在您的环境中安装该 wheel
conda install pip
pip install *.whl

请参阅此 Whosebug 答案,了解将 *.exe 转换为可按上述方式安装的轮子的方法:Can I install Python windows packages into virtualenvs?