Install python-igraph with the anaconda distribution (windows)

给你一囗甜甜゛ 提交于 2019-12-08 00:59:31

问题


I have problems to install python-igraph on the anaconda distribution of python.

If I write pip install python-igraph (with the admin privileges) in the anaconda command, the installation doesn't work.


回答1:


Check the documentation on their site: http://igraph.org/python/ It says that you need to download the .msi installer, pip does not work under windows. That is probably because you need a C compiler and windows does not supply one by default.




回答2:


You can download a wheel installer from http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-igraph and then install that wheel in your environment via

conda install pip
pip install *.whl

See this stackoverflow answer for ways to convert a *.exe into a wheel which can be installed as above: Can I install Python windows packages into virtualenvs?



来源:https://stackoverflow.com/questions/28107084/install-python-igraph-with-the-anaconda-distribution-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!