我必须卸载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:
'''
你能帮我吗?
答案 0 :(得分:0)
如何在缺少该库的环境中卸载anaconda,只需尝试正常安装该库即可。