jupyter笔记本电脑OSError:[WinError 193]

时间:2020-09-11 17:07:51

标签: python jupyter-notebook anaconda

我在anaconda平台上使用的大家好,但是甚至我的python版本都是相同的,我收到了此错误,我尝试重新上传程序,但是问题仍然相同。我该如何解决呢?谢谢.. 注意(我的操作系统是64位,python和anaconda也是..)

import pandas

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-2-38d4b0363d82> in <module>
----> 1 import pandas

~\AppData\Roaming\Python\Python38\site-packages\pandas\__init__.py in <module>
 9 for dependency in hard_dependencies:
 10     try:
 ---> 11         __import__(dependency)
 12     except ImportError as e:
 13         missing_dependencies.append(f"{dependency}: {e}")

~\AppData\Roaming\Python\Python38\site-packages\numpy\__init__.py in <module>
136 
137     # Allow distributors to run custom init code
--> 138     from . import _distributor_init
139 
140     from . import core

~\AppData\Roaming\Python\Python38\site-packages\numpy\_distributor_init.py in <module>
 24                 # NOTE: would it change behavior to load ALL
 25                 # DLLs at this path vs. the name restriction?
 ---> 26                 WinDLL(os.path.abspath(filename))
 27                 DLL_filenames.append(filename)
 28         if len(DLL_filenames) > 1:

 C:\ProgramData\Anaconda3\lib\ctypes\__init__.py in __init__(self, name, mode, handle, use_errno, 
 use_last_error, winmode)
371 
372         if handle is None:
 --> 373             self._handle = _dlopen(self._name, mode)
374         else:
375             self._handle = handle

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

0 个答案:

没有答案