ImportError:没有名为numpy的模块:不同

时间:2016-07-11 18:39:04

标签: python numpy

我知道这个问题已被问过几次,但是,这些解决方案都没有对我有用,所以我想在我的背景下重新提出这个问题。

我已经下载了IDLE和Python2.7,并尝试运行python脚本。显示上述错误。我已经证实numpy存在于我的comp中的某个地方,我也尝试添加' path' (系统高级设置 - 环境变量......)但是,它们都没有工作。

具体问题是,有没有办法可以从IDLE安装numpy?

任何投入都将极大地推动科学进步!

最佳, 拉曼

1 个答案:

答案 0 :(得分:0)

As some of your comments above stated, you have not actually installed NumPy, as NumPy does not come with the base package of Python. My suggestion is to look into python package such as Anaconda or WinPython (only for windows) because these packages come preinstalled with your main python modules (Numpy, SciPy, etc..)

BUT, to just install NumPY, either open your command prompt or a bash shell you should be able to run,

pip install numpy

If you dont have the command pip just run,

python get-pip.py