报错内容:

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相关推荐

  1. 【解决方案】报错: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)) 原因是位于国内的的 ...

  2. 成功解决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 ...

  3. 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 ...

  4. 【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 ...

  5. 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, ...

  6. 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 ...

  7. [Python系列-23]:WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)

    作者主页(文火冰糖的硅基工坊):文火冰糖(王文兵)的博客_文火冰糖的硅基工坊_CSDN博客 本文网址:[Python系列-23]:WARNING: Retrying (Retry(total=4, c ...

  8. 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 ...

  9. WARNING:Retrying(Retry(total=4,connect=None,read=None,redirect=None,status =None))connect broken解决方案

      大家好,我是爱编程的喵喵.双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中.从事机器学习以及相关的前后端开发工作.曾在阿里云.科大讯飞.CCF等比赛获得多次Top名次.现 ...

最新文章

  1. linux 下oracle 的kernel.shmmax,Linux 下kernel.shmmax 的设置问题
  2. php5 函数,2017PHP5函数大全
  3. JS 限制input框的输入字数,并提示可输入字数
  4. 作为一个程序员,CPU的这些硬核知识你必须会!
  5. php pdo 新建数据库,php – 使用PDO数据库类而不是每次都创建新...
  6. hive表存储格式的转化
  7. oss上传判断_OSS
  8. BIM模型文件下载——某体育馆项目Revit模型
  9. laravel 递归 无限层级分类
  10. 【计算机网络知识扫盲】十二、★Net命令详解☆
  11. 用地图说话:在商业分析与演示中运用Excel数据地图(全彩)
  12. PHP快速链接,PHP快速检测死链接
  13. win2016开启ntp_Windows Server 2016-Windows 时间服务概览
  14. Java常用类之String类知识清单,简单易理解
  15. 常用的但是容易忘记的css样式..........持续更新,主要自用
  16. XyplayerX4.0 影视解析源码+解析接口+安装步骤
  17. 探索使用JAVA将汉字解析成拼音
  18. Redis集群Hash槽分配异常 CLUSTERDOWN Hash slot not served的解决方式
  19. ISTQB基础级考试心得
  20. Java webp图片处理

热门文章

  1. 谷歌浏览器提示密码泄露弹窗关闭
  2. 用户使用手册与测试报告
  3. 2)速卖通商品信息采集(进阶)
  4. 电感式DC/DC 升压原理
  5. 微信公众号开启开发者模式
  6. java时钟代码_一个经典的JAVA APPLET时钟程序(一)
  7. JavaScript 原型和原型链
  8. 乐创杯c语言大赛形式,【连载】(学了这么多年C语言,你真的了解static关键词吗)乐创DIY C语言讲义​——4.4节...
  9. gRPC是什么,怎么用
  10. mac 特殊符号如何打