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

原文地址:https://www.cnblogs.com/wonz/p/12311311.html

时间: 2024-08-03 11:11:48

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.

# 背景 安装pip后发现执行pip install pytest,提示下面错误 pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. # 解决方法 查询了资料,大概意思是,新版的pip默认要使用SSL,可以通过设置修改,但木有发现pip.conf文件在哪里,囧rz,后续再研究下 但找到另外一个解决方法 先安装openssl-dev,然后重

pip is configured with locations that require TLS/SSL问题

linux 6 安装python3.7后,使用pip命令出现问题,提示找不到ssl模块,出现错误如下 # pip listPackage Version---------- -------pip 10.0.1 setuptools 39.0.1 pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.Could not fetch URL ht

pip 出现locations that require TLS/SSL

最近在redhat 7上安装Python3.6.4之后,使用pip命令出现了问题,提示说找不到ssl模块,出现错误如下: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Could not fetch URL https:*******: There was a problem confirming the ssl certifica

mac电脑 pip安装包后 撞到了系统python里面的解决方法

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff } span.s1 { } /usr/local/Cellar/[email protected]/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages 从上面的路径 系统自带的python 包

pip命令出现了问题,提示说找不到ssl模块

Could not find a version that satisfies the requirement pygame (from versions: ) No matching distribution found for pygame 找不到满足游戏需求的版本(从版本:)找不到匹配的版本 最近在Ubuntu16.04上安装Python3.6之后,使用pip命令出现了问题,提示说找不到ssl模块,出现错误如下: pip is configured with locations that

python3 安装scrapy Exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1006, in check_if_exists解决方法

错误代码: Exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1006, in check_if_exists self.satisfied_by = pkg_resources.get_distribution(str(no_marker)) File "/usr/share/python-wheel

OkHttp在4.4及以下不支持TLS协议的解决方法

在做超理论坛app的过程中,遇到许多用户反馈在他们的手机上客户端不能访问网络,我问了他们的手机型号和Android系统版本,全部是5.0以下的,之后我自己运行API19(4.4)的Android模拟器,也遇到了同样的错误. 错误信息如下: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x79f145b0: Failure in SSL lib

pip install 安装出现问题:UnicodeEncodeError: 'ascii' codec can't encode characters in position XX的解决办法

pip install 安装出现问题:UnicodeEncodeError: 'ascii' codec can't encode characters in position XX的解决办法 转自csdn 我在cmd中运行: pip install wheel时出现如下的问题 :  解决办法如下: **在Python目录 Python27\Lib\site-packages 建一个文件sitecustomize.py 里面的内容是:** import sys sys.setdefaultenc

FileZilla连接ftp服务器失败,提示"AUTH TLS"解决方法

FileZilla连接ftp服务器失败,提示"AUTH TLS"解决方法 前几天还是能正常连接ftp服务器的,突然一下连接失败,提示"AUTH TLS",用浏览器试了一下"ftp:ip地址",输入用户名.密码后可以正常访问.所以应该是FileZilla软件连接配置有点问题,百度了一下就解决了.记录下解决过程,方便自己查看. 1.连接的提示 连接时并没有提示用户名.密码错误,说明是正确的:查了下,原因是服务器不支持FTP over TLS的连接方式