首页 > 解决方案 > 尝试在 python 3.7 中导入 ssl 时出现导入错误

问题描述

  File "c:/Users/P/admin/src/Implementations/file.py", line 4, in <module>
    import ssl
  File "C:\Users\P\Anaconda3\lib\ssl.py", line 98, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: DLL load failed: The specified module could not be found

这就是我得到的。我知道 Python 3.x 中内置的 ssl 但我不明白如何解决这个问题,

标签: pythonsslimportpython-import

解决方案


推荐阅读