我在Win10上遇到了_ssl问题。我已经将python包和代码从Windows 7移到了Windows 10.在开始时我遇到了以下问题:
ImportError:缺少必需的依赖项['numpy']
但是这个通过重新安装.whl包的numpy和pandas得到了解决。
目前我在执行代码时面临以下问题:
import _ssl # if we can't import it, let the error propagate
ImportError: DLL load failed: The specified procedure could not be found.
关于堆栈溢出的其他问题,并尝试了几个步骤:
目前在Anaconda提示它显示为:
(base) C:\>
(base) C:\>python
Python 3.7.0 (default, Aug 14 2018, 19:12:50) [MSC v.1900 32 bit
(Intel)] :: Ana
conda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more
information.
>>> import ssl
>>> import _ssl
>>>
这意味着_ssl.pyd文件没有问题。
这在Windows 7上运行得很好,但在Windows 10上却没有。