python pip安装报错: ConnectTimeoutError
错误:
解决方案:
File "d:\programs\python35\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py
", line 226, in _error_catcher
yield
File "d:\programs\python35\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py
", line 301, in read
data = self._fp.read(amt)
File "d:\programs\python35\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py
", line 49, in read
data = self.__fp.read(amt)
File "d:\programs\python35\lib\http\client.py
", line 448, in read
n = self.readinto(b)
File "d:\programs\python35\lib\http\client.py
", line 488, in readinto
n = self.fp.readinto(b)
File "d:\programs\python35\lib\socket.py
", line 575, in readinto
return self._sock.recv_into(b)
File "d:\programs\python35\lib\ssl.py
", line 929, in recv_into
return self.read(nbytes, buffer)
File "d:\programs\python35\lib\ssl.py
", line 791, in read
return self._sslobj.read(len, buffer)
File "d:\programs\python35\lib\ssl.py
", line 575, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\programs\python35\lib\site-packages\pip\basecommand.py
", line 209, in main
status = self.run(options, args)
File "d:\programs\python35\lib\site-packages\pip\commands\install.py
", line 299, in run
requirement_set.prepare_files(finder)
File "d:\programs\python35\lib\site-packages\pip\req\req_set.py
", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "d:\programs\python35\lib\site-packages\pip\req\req_set.py
", line 577, in _prepare_file
session=self.session, hashes=hashes)
File "d:\programs\python35\lib\site-packages\pip\download.py
", line 810, in unpack_url
hashes=hashes
File "d:\programs\python35\lib\site-packages\pip\download.py
", line 649, in unpack_http_url
hashes)
File "d:\programs\python35\lib\site-packages\pip\download.py
", line 871, in _download_http_url
_download_url(resp, link, content_file, hashes)
File "d:\programs\python35\lib\site-packages\pip\download.py
", line 595, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "d:\programs\python35\lib\site-packages\pip\utils\hashes.py
", line 46, in check_against_chunks
for chunk in chunks:
File "d:\programs\python35\lib\site-packages\pip\download.py
", line 563, in written_chunks
for chunk in chunks:
File "d:\programs\python35\lib\site-packages\pip\utils\ui.py
", line 139, in iter
for x in it:
File "d:\programs\python35\lib\site-packages\pip\download.py
", line 552, in resp_read
decode_content=False):
File "d:\programs\python35\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py
", line 344, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "d:\programs\python35\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py
", line 311, in read
flush_decoder = True
File "d:\programs\python35\lib\contextlib.py
", line 77, in __exit__
self.gen.throw(type, value, traceback)
File "d:\programs\python35\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py
", line 231, in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org
', port=443): Read timed out.
python pip安装报错: ConnectTimeoutError的更多相关文章
- Python——pip安装报错:is not a supported wheel on this platform
pip安装报错:is not a supported wheel on this platform 可能的原因1:安装的不是对应python版本的库,下载的库名中cp35代表python3.5,其它同 ...
- python pip安装报错python setup.py egg_info failed with error code 1
安装locust遇到点问题折腾了好一会儿,记录一下. 使用命令pip install locustio提示python setup.py egg_info failed with error cod ...
- 安装Tensorflow过程pip安装报错:is not a supported wheel on this platform
安装Tensorflow过程pip安装报错:is not a supported wheel on this platform 通过pip安装wheel镜像时,安装指令为: pip install - ...
- pip安装报错: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy
pip安装报错 解决办法: pip install selenium -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
- 使用pip安装报错的处理方法
在新的机子上使用pip安装程序一直报错: Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connect ...
- pip安装报错处理+PyPi源切换教程
一.pip安装出错类型 1.1 pip版本过旧导致不能安装 报错提示: You are using pip version 9.0.3, however version 10.0.1 is avail ...
- 【python】pip安装报错UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 7: ordinal not in range(128)
刚安装完python,准备pip安装第三方库的时候出现了一个错误: UnicodeDecodeError: ‘ascii’ code can’t decode byte 0xef in positio ...
- python中使用pip安装报错:Fatal error in launcher... 解决方法
python安装了2和3版本在 cmd 中用pip报的错误为:Fatal error in launcher:Unable to create process using 这是因为你安装了python ...
- Python中pip安装报错Unable to create process using '....'
因为我本人在电脑上安装了python2和python3,所以在安装的时候,把两个python的安装目录都安装到G盘了.然后两个python的执行文件分别改成了 python2.exe 和 pytho ...
随机推荐
- linq中order by 和group by (含lambda表达式实现)以及综合案例
一.Linq应用场景 linq的语法通过System.Linq下面的Enumerable类提供支持,也就是说,只要是实现了IEnumerable<T>的对象都可以使用Linq的语法来查询. ...
- spring源码分析-core.io包里面的类
前些日子看<深入理解javaweb开发>时,看到第一章java的io流,发觉自己对io流真的不是很熟悉.然后看了下JDK1.7中io包的一点点代码,又看了org.springframewo ...
- 使用vue+webpack打包时,去掉资源前缀
在build文件夹下找到webpack.prod.conf.js文件,搜索 filename: utils.assetsPath('css/[name].[contenthash].css'), 将[ ...
- 在vue中子组件修改props引发的对js深拷贝和浅拷贝的思考
不管是react还是vue,父级组件与子组件的通信都是通过props来实现的,在vue中父组件的props遵循的是单向数据流,用官方的话说就是,父级的props的更新会向下流动到子组件中,反之则不行. ...
- Anaconda多环境多版本python配置笔记
一.Conda测试过程: 使用conda.首先确认已经安装好了conda 配置环境.下一步通过创建几个环境来展示conda的环境管理功能.学习如何确认在哪个环境中,以及如何做复制一个环境作为备份. 测 ...
- elixir 模式匹配
elixir 模式匹配刚接触还是有点不习惯,在Elixir里,=操作符被称为匹配操作符 iex(29)> x = 11iex(30)> x1iex(31)> 1 = x1iex(32 ...
- 大数据量报表APPLET打印分页传输方案
1 . 问题概述 当报表运算完成时,客户端经常需要调用润乾自带的runqianReport4Applet.jar来完成打印操作, 然而数据量比较大的时候,会导致无法加载完成,直至applet内存 ...
- leetCode题解单链表反转
1.题目描述 反转一个单链表.链表节点结构如下: struct ListNode { int val; ListNode* next; }; 2.问题分析 特殊情况是输入的头结点是一个空的,或者只有一 ...
- H5 高德地图获取当前位置信息
返回结果:jsonp_393330_({"status":"1","info":"OK","infocode& ...
- asp.net MVC 使用PagedList.MVC实现分页
在上一篇的EF之DB First中,存在以下的两个问题: 1. 添加/编辑页面显示的是属性名称,而非自定义的名称(如:姓名.专业...) 2. 添加/编辑时没有加入验证 另外数据展示使用分页 @Htm ...