报错:WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None))

原因是位于国内的的存储库不是受信任的或安全的主机,正在被忽略
需要我们使用“–trusted host xxx”允许此警告

因此,在需要安装的包的后面加上-i http://pypi.douban.com/simple --trusted-host pypi.douban.com即可解决问题

例如安装gym

pip install gym -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

即可解决问题

其中的网址也可改为其他源(注意后面也要做相应修改):

阿里云 http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) http://pypi.douban.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

等等

【解决方案】报错:WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None))相关推荐

  1. 报错: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 ...

  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))connect broken解决方案

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

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

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

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

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

最新文章

  1. Lombok(1.14.8) - @Synchronized
  2. boost源码剖析之:泛型函数指针类boost::function(rev#3)
  3. 深度强化学习-马尔科夫决策过程和表格型方法
  4. python里面如何安装nltk_nltk的安装和简单使用
  5. python建db文件_临时数据库之python用sqlite3模块操作sqlite
  6. Kubernetes端到端解决方案Part3:如何正确部署Kubernetes
  7. python2.7升级到python3.6注意事项
  8. [-1]是也乎,( ̄▽ ̄)
  9. UVA 10564 - Paths through the Hourglass (dp)
  10. 设计模式-适配器模式(Adapter)
  11. java简单递归算法,Java递归算法简单示例两则
  12. Jquery+WeUI开发移动APP应用
  13. navicat for mysql 亲测好用的 中文破解版
  14. Axure原型图小字体在浏览器显示变大
  15. n9005zhuenb6 Android 5,三星Galaxy Note3(港版N9005)刷机与ROOT教程【详细介绍】
  16. behavior3editor环境搭建
  17. 华为S6720-LI系列交换机光模块解决方案
  18. 酷我CEO雷鸣:差异化服务是制胜关键
  19. CF 1606E Arena
  20. 根据经纬度坐标计算实际距离

热门文章

  1. 前端-javascript(下)
  2. Vue Cli 3.0打包生成app
  3. 《Maven实战》笔记整理
  4. 某流氓安装程序的数据包(.data后缀)解压工具
  5. delete 删除指针
  6. mysql out of memory_mysqld: Out of memory 解决办法(mysql)
  7. android 动态调试app,Android动态调试
  8. Keil 报错 declaration may not appear after executable statement in block的解决办法
  9. 箭头函数没有绑定this
  10. a++和++a;a+=和a=a+1的区别