[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)_文火冰糖(王文兵)的博客-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)相关推荐
- 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=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 ...
- WARNING:Retrying(Retry(total=4,connect=None,read=None,redirect=None,status =None))connect broken解决方案
大家好,我是爱编程的喵喵.双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中.从事机器学习以及相关的前后端开发工作.曾在阿里云.科大讯飞.CCF等比赛获得多次Top名次.现 ...
- 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 ...
- 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 ...
- 成功解决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 ...
- 【解决方案】报错: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=2, connect=None, read=None, redirect=None, status=None)) after connec
python安装包错误<网络原因,直接改用阿里云镜像,然后再安装 pip config set global.index-url https://mirrors.aliyun.com/pypi/ ...
- WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connec
一:可能是网络问题 最简单的办法,把WiFi断开,连手机热点就OK了. 二:若不是网络问题,那么就需要换个源试试 pip install requests -i http://pypi.douban. ...
最新文章
- python tableview_在PyQ中清除TableView
- Caused by: java.lang.NoClassDefFoundError: redis/clients/util/Pool
- Graves of the Internet - 互联网坟墓
- 将RHEL7/centos7系统网卡名称eno16777736改为eth0
- CMake 手册详解(五)
- php如何导入数据,““php中如何将execl的数据导入到数据库中
- linux 编译3g驱动_linux下使用3G拨号上网 以及3g驱动设置
- 中原标准时间对时_GPS对时系统(时间同步系统)应用电子政务
- C语言: GDB调试技术(一)
- WPF使用Canvas绘制可变矩形
- 晚上:上课笔记,听完自己独立完成
- iPhone 9又要鸽了?
- 清华大学刘知远教授:如何写一篇合格的NLP论文
- C语言贴图图片路径不对,backgroundImage 路径问题 vue 图片的引入方式
- “SCSA-S学习导图+”系列:文件解析
- 如何看待浏览器越来越臃肿,手机浏览器现状堪忧
- 好站推荐-四个在线识别字体网站,从此不在为找字体烦恼
- 扒皮下音悦台的“返回顶部”图标效果
- 离群值是什么意思_离群值!离群值?离群值!
- 快讯 | 第80届金球奖揭晓