Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k views
in Technique[技术] by (71.8m points)

请问如何避免此类问题?

/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 ...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...