使用 pip 安装 SciPy [英] Installing SciPy with pip
问题描述
可以使用 pip 使用 pip install numpy
.
SciPy 是否也有类似的可能性?(执行 pip install scipy
不起作用.)
Is there a similar possibility with SciPy? (Doing pip install scipy
does not work.)
更新
现在可以使用 pip
安装 SciPy 包!
The package SciPy is now available to be installed with pip
!
推荐答案
easy_install
的尝试表明他们的 listing 在 Python 包索引中,哪个 pip 搜索.
An attempt to easy_install
indicates a problem with their listing in the Python Package Index, which pip searches.
easy_install scipy
Searching for scipy
Reading http://pypi.python.org/simple/scipy/
Reading http://www.scipy.org
Reading http://sourceforge.net/project/showfiles.php?group_id=27747&package_id=19531
Reading http://new.scipy.org/Wiki/Download
然而,一切都没有丢失;pip
可以从 Subversion (SVN)、Git、Mercurial 和 Bazaar 存储库.SciPy 使用 SVN:
All is not lost, however; pip
can install from Subversion (SVN), Git, Mercurial, and Bazaar repositories. SciPy uses SVN:
pip install svn+http://svn.scipy.org/svn/scipy/trunk/#egg=scipy
更新(12-2012):
Update (12-2012):
pip install git+https://github.com/scipy/scipy.git
由于 NumPy 是一个依赖项,所以也应该安装它.
Since NumPy is a dependency, it should be installed as well.
这篇关于使用 pip 安装 SciPy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!