不死恶龙 2019-10-31 22:26 采纳率: 0%
浏览 1402

python 用cmd下载 pyqt5-tools出现错误,安装其他模块也一样

python 用cmd下载 pyqt5-tools出现错误,安装其他模块也一样

pyqt5等库我都是用离线安装的,这次安装的pyqt5-tools不知道怎么离线安装了

图片说明

求大神帮我看看帮我想想解决方案

出现的错误:

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\xe100>pip3 install PyQt5-tools
Collecting PyQt5-tools
Downloading https://files.pythonhosted.org/packages/20/8e/c5ee7dcf8168327bb6d2
e3f830edadc91485f23049afaa709a3e019d47ef/pyqt5_tools-5.13.0.1.5-cp37-none-win_am
d64.whl (67.2MB)
10% |███▌ | 7.3MB 16kB/s eta 1:00:09Exception
:
Traceback (most recent call last):
File "d:\python\lib\site-packages\pip_vendor\urllib3\response.py", line 360,
in error_catcher
yield
File "d:\python\lib\site-packages\pip_vendor\urllib3\response.py", line 442,
in read
data = self._fp.read(amt)
File "d:\python\lib\site-packages\pip_vendor\cachecontrol\filewrapper.py", li
ne 62, in read
data = self.
_fp.read(amt)
File "d:\python\lib\http\client.py", line 447, in read
n = self.readinto(b)
File "d:\python\lib\http\client.py", line 491, in readinto
n = self.fp.readinto(b)
File "d:\python\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "d:\python\lib\ssl.py", line 1052, in recv_into
return self.read(nbytes, buffer)
File "d:\python\lib\ssl.py", line 911, in read
return 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:\python\lib\site-packages\pip_internal\cli\base_command.py", line 179
, in main
status = self.run(options, args)
File "d:\python\lib\site-packages\pip_internal\commands\install.py", line 315
, in run
resolver.resolve(requirement_set)
File "d:\python\lib\site-packages\pip_internal\resolve.py", line 131, in reso
lve
self._resolve_one(requirement_set, req)
File "d:\python\lib\site-packages\pip_internal\resolve.py", line 294, in res
olve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "d:\python\lib\site-packages\pip_internal\resolve.py", line 242, in _get
_abstract_dist_for
self.require_hashes
File "d:\python\lib\site-packages\pip_internal\operations\prepare.py", line 3
34, in prepare_linked_requirement
progress_bar=self.progress_bar
File "d:\python\lib\site-packages\pip_internal\download.py", line 878, in unp
ack_url
progress_bar=progress_bar
File "d:\python\lib\site-packages\pip_internal\download.py", line 702, in unp
ack_http_url
progress_bar)
File "d:\python\lib\site-packages\pip_internal\download.py", line 946, in _do
wnload_http_url
_download_url(resp, link, content_file, hashes, progress_bar)
File "d:\python\lib\site-packages\pip_internal\download.py", line 639, in _do
wnload_url
hashes.check_against_chunks(downloaded_chunks)
File "d:\python\lib\site-packages\pip_internal\utils\hashes.py", line 62, in
check_against_chunks
for chunk in chunks:
File "d:\python\lib\site-packages\pip_internal\download.py", line 607, in wri
tten_chunks
for chunk in chunks:
File "d:\python\lib\site-packages\pip_internal\utils\ui.py", line 159, in ite
r
for x in it:
File "d:\python\lib\site-packages\pip_internal\download.py", line 596, in res
p_read
decode_content=False):
File "d:\python\lib\site-packages\pip_vendor\urllib3\response.py", line 494,
in stream
data = self.read(amt=amt, decode_content=decode_content)
File "d:\python\lib\site-packages\pip_vendor\urllib3\response.py", line 459,
in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "d:\python\lib\contextlib.py", line 130, in __exit
_
self.gen.throw(type, value, traceback)
File "d:\python\lib\site-packages\pip_vendor\urllib3\response.py", line 365,
in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files
.pythonhosted.org', port=443): Read timed out.

C:\Users\xe100>

  • 写回答

2条回答

  • vv安的浅唱 2019-11-03 12:36
    关注

    下载依赖超时了,换个源试试,豆瓣源,清华源

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示
  • ¥15 求三国群英传pl国战时间的修改方法
  • ¥15 matlab代码代写,需写出详细代码,代价私
  • ¥15 ROS系统搭建请教(跨境电商用途)
  • ¥15 AIC3204的示例代码有吗,想用AIC3204测量血氧,找不到相关的代码。