Numpy进口问题

时间:2017-10-08 16:45:48

标签: python python-2.7 numpy

我试图运行一些使用numpy库的代码,但只使用语句

>>>import numpy

我收到以下错误:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\numpy\__init__.py", line 137, in <module>
    import add_newdocs
  File "C:\Python27\lib\site-packages\numpy\add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
  File "C:\Python27\lib\site-packages\numpy\lib\__init__.py", line 4, in <module>
    from type_check import *
  File "C:\Python27\lib\site-packages\numpy\lib\type_check.py", line 8, in <module>
    import numpy.core.numeric as _nx
  File "C:\Python27\lib\site-packages\numpy\core\__init__.py", line 5, in <module>
    import multiarray
ImportError: DLL load failed: %1 no es una aplicaci¾n Win32 vßlida.

我已经完成了numpy安装,如下所示:

pip install numpy

在命令行,并且没关系。

出了什么问题?

我有64位Windows 10和python 2.7.13

谢谢!

0 个答案:

没有答案