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

发布了298 篇原创文章 · 获赞 391 · 访问量 25万+

猜你喜欢

转载自blog.csdn.net/Wonz5130/article/details/104326199