OSError:[WinError 193]在Spyder上运行numpy库时,%1不是有效的Win32应用程序

时间:2019-11-25 08:53:04

标签: python numpy anaconda spyder

当我尝试在Spyder(anaconda)上导入numpy库时,这是我得到的错误:

    import numpy as np

  File "C:\Users\ndabouz\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import _distributor_init

  File "C:\Users\ndabouz\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\numpy\_distributor_init.py", line 26, in <module>
    WinDLL(os.path.abspath(filename))

  File "C:\Users\ndabouz\AppData\Local\Continuum\anaconda3\lib\ctypes\__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)

OSError: [WinError 193] %1 is not a valid Win32 application 

我试图卸载并安装python,ananconda和numpy库。

谢谢您的帮助!

0 个答案:

没有答案