报错:WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after con
报错内容:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:749)'),)': /pypi/simple/dataclasses/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:749)'),)': /pypi/simple/dataclasses/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:749)'),)': /pypi/simple/dataclasses/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:749)'),)': /pypi/simple/dataclasses/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:749)'),)': /pypi/simple/dataclasses/
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/dataclasses/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/dataclasses/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:749)'),)) - skipping
ERROR: Could not find a version that satisfies the requirement dataclasses; python_version < "3.7" (from torch) (from versions: none)
ERROR: No matching distribution found for dataclasses; python_version < "3.7"
原因:
(1)关闭翻Q的VPN,retry XXX的警告就会消失。
(2) 下载的Torch版本,要和你的Python版本对应。
比如我电脑是Python3.6.2,PyTorch-3.6版本要求必须是Python3.6.0,于是就报了一个新错误:
ERROR: Package 'torch' requires a different Python: 3.6.0 not in '>=3.6.2'
先要关闭SSL:
conda config --set ssl_verify no
然后更新python版本:
conda install python=3.6.0
报错:WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after con相关推荐
- 【解决方案】报错:WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None))
报错:WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) 原因是位于国内的的 ...
- 成功解决WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after co
成功解决WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after co ...
- pip安装包时报错WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status =None))
问题描述: 今天打算安装一下tensorflow,但是老报错:WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=N ...
- 【Ubuntu 下 pip 报错】 Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) aft
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection brok ...
- conda虚拟环境下使用pip安装包报错Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)
Q1: conda虚拟环境下使用pip安装软件报错: WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, ...
- WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) 决办法:pip inst ...
- [Python系列-23]:WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)
作者主页(文火冰糖的硅基工坊):文火冰糖(王文兵)的博客_文火冰糖的硅基工坊_CSDN博客 本文网址:[Python系列-23]:WARNING: Retrying (Retry(total=4, c ...
- python WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))————
问题:在使用python时,使用pip安装matplotlib出错(pip install matplotlib),错误信息:WARNING: Retrying (Retry(total=4, con ...
- WARNING:Retrying(Retry(total=4,connect=None,read=None,redirect=None,status =None))connect broken解决方案
大家好,我是爱编程的喵喵.双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中.从事机器学习以及相关的前后端开发工作.曾在阿里云.科大讯飞.CCF等比赛获得多次Top名次.现 ...
最新文章
- linux 下oracle 的kernel.shmmax,Linux 下kernel.shmmax 的设置问题
- php5 函数,2017PHP5函数大全
- JS 限制input框的输入字数,并提示可输入字数
- 作为一个程序员,CPU的这些硬核知识你必须会!
- php pdo 新建数据库,php – 使用PDO数据库类而不是每次都创建新...
- hive表存储格式的转化
- oss上传判断_OSS
- BIM模型文件下载——某体育馆项目Revit模型
- laravel 递归 无限层级分类
- 【计算机网络知识扫盲】十二、★Net命令详解☆
- 用地图说话:在商业分析与演示中运用Excel数据地图(全彩)
- PHP快速链接,PHP快速检测死链接
- win2016开启ntp_Windows Server 2016-Windows 时间服务概览
- Java常用类之String类知识清单,简单易理解
- 常用的但是容易忘记的css样式..........持续更新,主要自用
- XyplayerX4.0 影视解析源码+解析接口+安装步骤
- 探索使用JAVA将汉字解析成拼音
- Redis集群Hash槽分配异常 CLUSTERDOWN Hash slot not served的解决方式
- ISTQB基础级考试心得
- Java webp图片处理