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

Posted Wonz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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:ProgramDataAnaconda3
C:ProgramDataAnaconda3Scripts
C:ProgramDataAnaconda3Libraryin

技术图片

致谢

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

以上是关于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 解决方法(

搭建docker-python环境时提示WARNING: pip is configured with locations that require TLS/SSL, however the ssl

搭建docker-python环境时提示WARNING: pip is configured with locations that require TLS/SSL, however the ssl(

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no

Configuration ‘androidTestCompile‘ is obsolete and has been replaced with ‘androidTestImplementation

configure: error: /usr/include/openssl is a bad --with-openssl prefix