Ubuntu 12.10上的Python3.3上的Numpy

2024-04-16 22:19:17 发布

您现在位置:Python中文网/ 问答频道 /正文

我试着在Ubuntu12.10上的Python3.3上安装numpy

下面是Python实现的细节,以防这是特定于实现的。你知道吗

Python 3.3.0 (default, Sep 29 2012, 17:17:45) 
[GCC 4.7.2] on linux

所以我在终点站做了以下的测试

sudo apt-get install python-numpy

结果是,enter image description here

但是,import numpy会导致ImportError: No module named 'numpy'。你知道吗

我做错什么了?搜索让我找到了这个SO question,但到目前为止,它只有一个答案没有投票。另外,这里提到的方法似乎对我不起作用。你知道吗


Tags: installnoimportnumpydefaultgetonlinux