我对ubuntu很陌生,两天前在我的联想掌上电脑上安装了ubuntu14.04 32位,带有windows 7,但从那以后,我尝试在ubuntu上下载和安装python-3.4软件包(NUMPY,SCIPY),但没有得到结果。我通过ubuntu软件中心下载了空闲,但是numpy既没有从ubuntu软件中心为我运行,也没有从命令中运行。
sudo apt-get install python-numpy它给了我:
E: Unable to locate package python-numpy_1.8.1-1ubuntu1_i386
E: Couldn't find any package by regex 'python-numpy_1.8.1-1ubuntu1_i386'我也试过:
pip install python-numpy但其结果是:
Could not find any downloads that satisfy the requirement python-numpy
Cleaning up...
No distributions at all found for python-numpy
Storing debug log for failure in /home/sibte/.pip/pip.log任何给初学者的指导都可以。
发布于 2014-08-11 05:17:55
从终点站运行:
sudo apt-get install python3-numpy这个包包含Numpy for Python 3,正如您所预料的,为Ubuntu14.04提供了一个名为python3-scipy的包。如果您安装了python3-numpy和python3-spy,并且希望使用pylab绘制图表,那么您还需要安装python3-matplotlib。
发布于 2015-12-22 16:33:09
我第一次为python 3安装了pip。
sudo apt-get install python3-pip然后在numpy中安装pip3。
sudo pip3 install numpy发布于 2015-12-12 06:53:47
这个也可以运行,
sudo apt-get -y install python-numpyhttps://askubuntu.com/questions/509623
复制相似问题