在 python 3.4.0 中调用 numpy

calling numpy in python 3.4.0

所以我尝试使用 python 的更新版本来处理一些代码,因为旧版本在某些方面限制了我,所以我得到了 python 3. 我正在使用 python 2.7.6 之前预装了 ubuntu。当我尝试使用命令

调用 numpy 时

import numpy as np

我不断收到一条错误消息,提示没有名为 numpy 的模块。我需要使用不同的命令才能在 python 3.4.0.

中使用 numpy

如有任何帮助,我们将不胜感激。

所以与我发布的其他问题相比,这个问题有更多的负面影响,这导致我被禁止提问。有什么方法可以改进这个问题并重新提交以供考虑吗?

尝试安装 this numpy 端口:

sudo apt-get install python3-numpy