【发布时间】:2020-04-03 16:13:46
【问题描述】:
我不得不卸载 anaconda,
从那以后我无法导入 NumPy 或任何其他库,因为虚拟环境不再正常工作 得到这个错误:
'''
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
<ipython-input-3-d4cdadb62aa7> in <module>
----> 1 import numpy
~\AppData\Roaming\Python\Python37\site-packages\numpy\__init__.py in <module>
138
139 # Allow distributors to run custom init code
--> 140 from . import _distributor_init
141
142 from . import core
~\AppData\Roaming\Python\Python37\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:
'''
你能帮帮我吗?
【问题讨论】:
标签: python numpy anaconda virtual-environment