作者主页(文火冰糖的硅基工坊):文火冰糖(王文兵)的博客_文火冰糖的硅基工坊_CSDN博客

本文网址:[Python系列-23]:WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)_文火冰糖(王文兵)的博客-CSDN博客


1. 出错提示

无论是通过pip3,还是通过conda,死活就是安装不上,总是说出错。

其实就是说连接超时,下载不了安装包。

检查网络,也是正常的。

2. 进一步的尝试国内网站

pip3 install sklearn -i http://pypi.douban.com/simple

  • 阿里云 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/

3. 原因分析

主要意思就是位于pypi.douban.com的存储库不是受信任的或安全的主机,正在被忽略。
要求使用“–trusted host pypi.douban.com”允许此警告。

4. 解决之道

pip3 install sklearn -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

(其中的sklearn是你需要下载的,根据自己需求自行更改)


作者主页(文火冰糖的硅基工坊):文火冰糖(王文兵)的博客_文火冰糖的硅基工坊_CSDN博客

本文网址:[Python系列-23]:WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)_文火冰糖(王文兵)的博客-CSDN博客

[Python系列-23]:WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)相关推荐

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

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

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

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

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

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

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

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

  8. WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connec

    python安装包错误<网络原因,直接改用阿里云镜像,然后再安装 pip config set global.index-url https://mirrors.aliyun.com/pypi/ ...

  9. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connec

    一:可能是网络问题 最简单的办法,把WiFi断开,连手机热点就OK了. 二:若不是网络问题,那么就需要换个源试试 pip install requests -i http://pypi.douban. ...

最新文章

  1. python tableview_在PyQ中清除TableView
  2. Caused by: java.lang.NoClassDefFoundError: redis/clients/util/Pool
  3. Graves of the Internet - 互联网坟墓
  4. 将RHEL7/centos7系统网卡名称eno16777736改为eth0
  5. CMake 手册详解(五)
  6. php如何导入数据,““php中如何将execl的数据导入到数据库中
  7. linux 编译3g驱动_linux下使用3G拨号上网 以及3g驱动设置
  8. 中原标准时间对时_GPS对时系统(时间同步系统)应用电子政务
  9. C语言: GDB调试技术(一)
  10. WPF使用Canvas绘制可变矩形
  11. 晚上:上课笔记,听完自己独立完成
  12. iPhone 9又要鸽了?
  13. 清华大学刘知远教授:如何写一篇合格的NLP论文
  14. C语言贴图图片路径不对,backgroundImage 路径问题 vue 图片的引入方式
  15. “SCSA-S学习导图+”系列:文件解析
  16. 如何看待浏览器越来越臃肿,手机浏览器现状堪忧
  17. 好站推荐-四个在线识别字体网站,从此不在为找字体烦恼
  18. 扒皮下音悦台的“返回顶部”图标效果
  19. 离群值是什么意思_离群值!离群值?离群值!
  20. 快讯 | 第80届金球奖揭晓

热门文章

  1. 在win7旗舰版卸载ie11,win7安装ie8的问题
  2. 画论30 李澄叟《画山水诀》
  3. jetson nano GPIO引脚控制舵机
  4. 集电极开路,漏极开路结构原理分析
  5. html如何批量查找数字,wps文档中的全部数字怎么快速查找
  6. Integrating Dokuwiki with Mantis
  7. VS2015配置OpenGL环境——GLUT、freeglut、glew、GLtools
  8. unittest的基本使用
  9. 看完刘未鹏的暗时间之后的感悟
  10. 三种常用的朴素贝叶斯实现算法——高斯朴素贝叶斯、伯努利朴素贝叶斯、多项式朴素贝叶斯