1
numpyとmatplotlibをインストールしていたときに次のエラーが発生しました。私はそれを修正する方法を知らない。pypy install numpyとmatplotlibの例外(pipを使用)
D:\Program Files (x86)\Python\Python36-32>pip install matplotlib
Collecting matplotlib
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/matplotlib/
Downloading matplotlib-2.0.2-cp36-cp36m-win32.whl (8.7MB)
14% |████▌ | 1.2MB 33kB/s eta 0:03:46Exception:
Traceback (most recent call last):
File "d:\program files (x86)\python\python36-32\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 232, in _error_catcher
yield
File "d:\program files (x86)\python\python36-32\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 314, in read
data = self._fp.read(amt)
File "d:\program files (x86)\python\python36-32\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 60, in read
data = self.__fp.read(amt)
File "d:\program files (x86)\python\python36-32\lib\http\client.py", line 449, in read
n = self.readinto(b)
File "d:\program files (x86)\python\python36-32\lib\http\client.py", line 493, in readinto
n = self.fp.readinto(b)
File "d:\program files (x86)\python\python36-32\lib\socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "d:\program files (x86)\python\python36-32\lib\ssl.py", line 1002, in recv_into
return self.read(nbytes, buffer)
File "d:\program files (x86)\python\python36-32\lib\ssl.py", line 865, in read
return self._sslobj.read(len, buffer)
File "d:\program files (x86)\python\python36-32\lib\ssl.py", line 625, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
私はそれを修正することはできますか? ご協力いただければ幸いです!
ただwhlバイナリ – Veltro
をダウンロードし、あなたのインターネットの速度をチェックすると、33kB/sはそれほどではありません.. – Veltro
ダウンロード中にインターネット接続がタイムアウトしたようです。あなたは数分後に再試行しましたか?いつも14%で止まっていますか?そうでなければあなたのインターネットは正常に動作していますか – ImportanceOfBeingErnest