(转)pip安装报错:There was a problem confirming the ssl certificate
转自[https://www.seogurublog.com/20200718529.html](https://www.seogurublog.com/20200718529.html)
在windows10,升级Pip后,安装python包报错,
```bash
>pip install wheel
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))': /simple/wheel/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))': /simple/wheel/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))': /simple/wheel/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))': /simple/wheel/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))': /simple/wheel/
Could not fetch URL https://pypi.org/simple/wheel/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/wheel/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))) - skipping
ERROR: Could not find a version that satisfies the requirement wheel
ERROR: No matching distribution found for wheel
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))) - skipping
```
解决办法以下:
在python安装目录下建立pip.ini,pip.ini配置內容以下:
```bash
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
```
(转)pip安装报错:There was a problem confirming the ssl certificate相关推荐
- Windows 下使用anaconda虚拟环境pip install 安装pytorch出现报错There was a problem confirming the ssl certificate
一.报错信息 使用anaconda创建的虚拟环境,进入虚拟环境,使用以下命令安装pytorch pip3 install torch torchvision torchaudio --extra-in ...
- pip安装报错:'ascii'码不能解码,安装路径有中文
转载自:https://blog.csdn.net/u013948858/article/details/77800663 [python]pip安装报错UnicodeDecodeError: 'as ...
- pip安装报错处理+PyPi源切换教程
一.pip安装出错类型 1.1 pip版本过旧导致不能安装 报错提示: You are using pip version 9.0.3, however version 10.0.1 is avail ...
- Python——pip安装报错:is not a supported wheel on this platform
pip安装报错:is not a supported wheel on this platform 可能的原因1:安装的不是对应python版本的库,下载的库名中cp35代表python3.5,其它同 ...
- python中使用pip安装报错:Fatal error in launcher... 解决方法
python中使用pip安装报错:Fatal error in launcher... 解决方法 参考文章: (1)python中使用pip安装报错:Fatal error in launcher.. ...
- Python使用pip安装报错ModuleNotFoundError: No module named ‘pip._internal.cli.main‘的解决方法
Python使用pip安装报错ModuleNotFoundError: No module named 'pip._internal.cli.main'的解决方法 大家好,我叫亓官劼(qí guā ...
- Python使用pip安装报错ModuleNotFoundError: No module named ‘pkg_resources‘的解决方法
Python使用pip安装报错ModuleNotFoundError: No module named 'pkg_resources'的解决方法 大家好,我叫亓官劼(qí guān jié ),在 ...
- Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate
安装jsonpath:>pip install jsonpath 报错:Could not fetch URL https://pypi.org/simple/pip/: There was a ...
- pip 安装报错,is not a supported wheel on this platform
可能的原因1:安装的不是对应python版本的库,下载的库名中cp27代表python2.7,其它同理. 可能的原因2:这个是我遇到的情况(下载的是对应版本的库,然后仍然提示不支持当前平台) 我下载到 ...
- pip安装报错:is not a supported wheel on this platform
可能的原因1:安装的不是对应python版本的库,下载的库名中cp27代表python2.7,其它同理. 可能的原因2:这个是我遇到的情况(下载的是对应版本的库,然后仍然提示不支持当前平台) 我下载到 ...
最新文章
- GPU上的图像和信号处理
- web网站加速之CDN(Content Delivery Network)技术原理
- WINCE6.0+S3C2443下的usb function(功能)驱动
- 计算机专业颈椎有问题,出现这4个表现,你的颈椎病已经很严重了!上班族尤需警惕_39健康网...
- c语言的翻译叫什么_什么是编译器?什么是集成开发环境?
- 双十一囤点知识干货!
- .Net 插入数据MySql数据库,中文乱码解决问题
- 1.登录mysql数据库_MySql使用全记录1 -----使用命令登录数据库
- C++进阶教程之预存处理器
- iOS 应用状态详解
- 海思Hi3519A SVP从入门到精通(一 概述)
- 【转载】VGA视频信号详解
- 游戏中MD5加密的一些作用
- vue项目中使用ramda库
- linux qt 多点触摸,Qt 4.6 添加 Multi-touch(多点触摸)支持
- .NET 2.0 调用FFMPEG
- openbsd停止mysql_英特尔处理器超线程功能被OpenBSD 停用,并爆bug
- 【全开源+免费更新】doodoo.js快速入门教程
- 检测椭圆的长短轴参数
- 极路由s1有wds_极路由1、1s等机型刷OpenWrt--成为真正的极客
热门文章
- 百度接口API的使用
- python三维雷达图_Matplotlib绘制雷达图和三维图的示例代码
- 文件关联后即时生效代码
- android版会说话的汤姆猫游戏源码
- 手机信息通知标为已读实现原理_27条iPhone苹果(附iPhoneX)手机使用技巧,你用过多少条?...
- Python基础(二)
- Gimp 替换白色背景
- Idea设置全白色 背景
- php三D立体模拟,【HTML5】3D模型--百行代码实现旋转立体魔方实例
- android 充电模式deamon_它是首款无线充电手机,也是雷军十年前的最爱极客博物馆...