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

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
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥20 求一个html代码,有偿
  • ¥100 关于使用MATLAB中copularnd函数的问题
  • ¥20 在虚拟机的pycharm上
  • ¥15 jupyterthemes 设置完毕后没有效果
  • ¥15 matlab图像高斯低通滤波
  • ¥15 针对曲面部件的制孔路径规划,大家有什么思路吗
  • ¥15 钢筋实图交点识别,机器视觉代码
  • ¥15 如何在Linux系统中,但是在window系统上idea里面可以正常运行?(相关搜索:jar包)
  • ¥50 400g qsfp 光模块iphy方案
  • ¥15 两块ADC0804用proteus仿真时,出现异常