pip is configured with locations that require TLS/SSL, however the ssl module in Python is not 解决方法


pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available 解决方法

问题

今天在安装 Pygame 的时候,发现照着之前自己写的教程出现了问题。

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

解决方法

其实还是 Anaconda 环境变量的问题。

Win + R ,输入:SystemPropertiesAdvanced.exe ,回车。

然后点击 环境变量

进入 系统变量 ,找到 PATH ,点击编辑:

只需把这三个加上就行。

C:\ProgramData\Anaconda3
C:\ProgramData\Anaconda3\Scripts
C:\ProgramData\Anaconda3\Library\bin

致谢

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


免责声明!

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



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