Can‘t connect to HTTPS URL because the SSL module is not available

Can‘t connect to HTTPS URL because the SSL module is not available

  • pip安装包错误
  • 解决方案
  • 参考

pip安装包错误

miniconda自带的python3.8 在使用pip安装包的时候报错

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/django/

解决方案

将conda的安装目录下的

\Library\bin\libcrypto-1_1-x64.dll
\Library\bin\libssl-1_1-x64.dll

复制到\DLLs目录下

参考

https://github.com/conda/conda/issues/8273
https://blog.csdn.net/Sky_Tree_Delivery/article/details/109078288

你可能感兴趣的:(编程开发,https,ssl,网络协议)