【原】python3.7 无法pip安装提示ssl错误解决方案

问题

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

本人使用 Cmder 使用 python ,无需写环境变量

set PATH=%ConEmuBaseDir%Scripts;%PATH%;C:UsersadminAppDataLocalLibssl
alias py2=C:UsersadminMiniconda2python.exe $*
alias py3=C:UsersadminMiniconda3python.exe $*
alias pip2=C:UsersadminMiniconda2Scriptspip.exe $*
alias pip3=C:UsersadminMiniconda3Scriptspip.exe $*

将openssl放入

C:UsersadminAppDataLocalLibssl

即可

 https://anaconda.org/conda-forge/openssl

https://anaconda.org/anaconda/openssl

原文地址:https://www.cnblogs.com/yzpopulation/p/10337834.html