2024-05-17 17:33:12 发布
网友
可以使用pip install numpy使用pip安装NumPy。
pip install numpy
对于SciPy有类似的可能性吗?(执行pip install scipy不起作用。)
pip install scipy
更新
软件包SciPy现在可以与pip一起安装!
pip
试图easy_install表示pip搜索的Python Package Index中的listing有问题。
easy_install
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:
pip install svn+http://svn.scipy.org/svn/scipy/trunk/#egg=scipy
更新(12-2012):
pip install git+https://github.com/scipy/scipy.git
因为NumPy是一个依赖项,所以也应该安装它。
在Ubuntu 10.04(Lucid)中,在安装了一些依赖项之后,我可以成功地pip install scipy(在virtualenv中),特别是:
$ sudo apt-get install libamd2.2.0 libblas3gf libc6 libgcc1 libgfortran3 liblapack3gf libumfpack5.4.0 libstdc++6 build-essential gfortran libatlas-sse2-dev python-all-dev
先决条件:
sudo apt-get install build-essential gfortran libatlas-base-dev python-pip python-dev sudo pip install --upgrade pip
实际包:
sudo pip install numpy sudo pip install scipy
可选包:
sudo pip install matplotlib OR sudo apt-get install python-matplotlib sudo pip install -U scikit-learn sudo pip install pandas
src
试图
easy_install
表示pip搜索的Python Package Index中的listing有问题。但是,并非所有内容都丢失;
pip
可以从Subversion(SVN)、Git、Mercurial和Bazaar存储库安装。SciPy使用SVN:更新(12-2012):
因为NumPy是一个依赖项,所以也应该安装它。
在Ubuntu 10.04(Lucid)中,在安装了一些依赖项之后,我可以成功地
pip install scipy
(在virtualenv中),特别是:先决条件:
实际包:
可选包:
src
相关问题 更多 >
编程相关推荐