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 ...
随机推荐
- Code Signal_练习题_shapeArea
A 1-interesting polygon is just a square with a side of length 1. An n-interesting polygon is obtain ...
- python学习之老男孩python全栈第九期_day013知识点总结
# l = [1,2,3]# 索引# 循环 for # list # dic # str # set # tuple # f = open() # range() # enumerate'''prin ...
- mootools vs jquery
大部分最近才剛接觸JavaScript的人會面臨到的困難是該選擇哪個套件(library)或是該先學哪個套件.如果你在一間公司裡上班,那麼可能公司已經有一套固定使用的套件,若是在這種情況下,問題就沒那 ...
- ThreeJS两个点作为起始坐标画一个立方体
drawLineBox(new THREE.Vector3(100, 50, 0), new THREE.Vector3(200, 100, 100)); function drawLineBox(s ...
- bootstrapValidator验证中Maximum call stack size exceeded
Tip1:如果表单不是通过Bootstrap构建(即元素包含表单项且关联的label没有form-group类),可能会看到错误Uncaught RangeError: Maximum call st ...
- APP之红点提醒三个阶段
下面这个页面就是我们进入APP后的主界面.客户选项的红点上数字就是显示我们没有查看的客户总数量. 当我们切换到客户这个fragment时,会显示贷款客户数量与保险客户数量. 当我们随便点击入一 ...
- LOCAL_LISTENER 引起的错误
1. 如果你的LOCAL_LISTENER 指定的是一个别名 比如L2 *.local_listener='L2' 启动实例的时候 会先到 tnsnames.ora 文件里取查找定义名为L2的TNS服 ...
- apache ftp server的外网访问问题
apache ftp server的外网访问简单配置点如下:
- 使用cancelBubble竟然可以阻止所有浏览器的冒泡?
以前一直以为cancelBubble是IE8及以下的专属,今天做一个测试的时候意外发现了所有浏览器都支持,便提出来希望有哪位解释下. 1.使用原生js在FF下和chrome下两种方法都可以阻止冒泡 d ...
- 关于 ExpressRoute 的虚拟网络网关
虚拟网络网关用于在 Azure 虚拟网络和本地位置之间发送网络流量. 配置 ExpressRoute 连接时,必须创建并配置虚拟网络网关和虚拟网络网关连接. 创建虚拟网络网关时,需要指定几项设置. 其 ...