用pip安装SciPy它可以安装NumPy的与PIP使用pip install numpy。SciPy有类似的可能性吗?(做pip install scipy不起作用。)更新SciPy包现在可以安装了pip!
3 回答

慕桂英3389331
TA贡献2036条经验 获得超8个赞
先决条件:
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

开满天机
TA贡献1786条经验 获得超13个赞
在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
添加回答
举报
0/150
提交
取消