【原】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:\Users\admin\AppData\Local\Libssl
alias py2=C:\Users\admin\Miniconda2\python.exe $*
alias py3=C:\Users\admin\Miniconda3\python.exe $*
alias pip2=C:\Users\admin\Miniconda2\Scripts\pip.exe $*
alias pip3=C:\Users\admin\Miniconda3\Scripts\pip.exe $*

将openssl放入

C:\Users\admin\AppData\Local\Libssl

即可

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM