当我尝试在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库。
谢谢您的帮助!