请问如何避免此类问题?

请问如何避免此类问题?

/data/user/0/com.hipipal.qpyplus/files/bin/qpython3-android5.sh /data/user/0/com.hipipal.qpyplus/files/bin/qpypi.py install matplotlib-aipy3 && exit
y install matplotlib-aipy3 && exit <
Collecting matplotlib-aipy3
Downloading http://pypi3.qpython.org/repo... (15.4MB)

6% |▋         | 942kB 13kB/sException:Traceback (most recent call last):

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/_vendor/urllib3/response.py", line 302, in _error_catcher

yield

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/_vendor/urllib3/response.py", line 384, in read

data = self._fp.read(amt)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python36.zip/http/client.py", line 449, in read

n = self.readinto(b)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python36.zip/http/client.py", line 493, in readinto

n = self.fp.readinto(b)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python36.zip/socket.py", line 586, in readinto

return self._sock.recv_into(b)

socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/basecommand.py", line 215, in main

status = self.run(options, args)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/commands/install.py", line 324, in run

requirement_set.prepare_files(finder)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/req/req_set.py", line 380, in prepare_files

ignore_dependencies=self.ignore_dependencies))

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/req/req_set.py", line 620, in _prepare_file

session=self.session, hashes=hashes)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/download.py", line 821, in unpack_url

hashes=hashes

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/download.py", line 659, in unpack_http_url

hashes)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/download.py", line 882, in _download_http_url

_download_url(resp, link, content_file, hashes)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/download.py", line 605, in _download_url

consume(downloaded_chunks)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/utils/__init__.py", line 864, in consume

deque(iterator, maxlen=0)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/download.py", line 571, in written_chunks

for chunk in chunks:

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/utils/ui.py", line 139, in iter

for x in it:

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/download.py", line 560, in resp_read

decode_content=False):

File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/_vendor/urllib3/response.py", line 436, in stream data = self.read(amt=amt, decode_content=decode_content)
File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/_vendor/urllib3/response.py", line 401, in read

raise IncompleteRead(self._fp_bytes_read, self.length_remaining)

File "/data/user/0/com.hipipal.qpyplus/files/lib/python36.zip/contextlib.py", line 99, in exit

self.gen.throw(type, value, traceback)  File "/data/user/0/com.hipipal.qpyplus/files/lib/python3.6/qpyutil.zip/pip/_vendor/urllib3/response.py", line 307, in _error_catcher

raise ReadTimeoutError(self._pool, None, 'Read timed out.')

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='pypi3.qpython.org', port=80): Read timed out.

[QPython] Press enter to exit ...

以上是 请问如何避免此类问题? 的全部内容, 来源链接: utcz.com/a/158479.html

回到顶部