I’m using this command to install 'pip install https://s3.amazonaws.com/pytorch/whl/cu75/torch-0.1.8.post1-cp27-none-linux_x86_64.whl 2 '. But it occors some error. How to fix it. thx
Exception:
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/usr/lib/python2.7/site-packages/pip/commands/install.py”, line 324, in run
requirement_set.prepare_files(finder)
File “/usr/lib/python2.7/site-packages/pip/req/req_set.py”, line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File “/usr/lib/python2.7/site-packages/pip/req/req_set.py”, line 620, in _prepare_file
session=self.session, hashes=hashes)
File “/usr/lib/python2.7/site-packages/pip/download.py”, line 821, in unpack_url
hashes=hashes
File “/usr/lib/python2.7/site-packages/pip/download.py”, line 659, in unpack_http_url
hashes)
File “/usr/lib/python2.7/site-packages/pip/download.py”, line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
File “/usr/lib/python2.7/site-packages/pip/download.py”, line 605, in _download_url
consume(downloaded_chunks)
File “/usr/lib/python2.7/site-packages/pip/utils/init.py”, line 852, in consume
deque(iterator, maxlen=0)
File “/usr/lib/python2.7/site-packages/pip/download.py”, line 571, in written_chunks
for chunk in chunks:
File “/usr/lib/python2.7/site-packages/pip/utils/ui.py”, line 139, in iter
for x in it:
File “/usr/lib/python2.7/site-packages/pip/download.py”, line 560, in resp_read
decode_content=False):
File “/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py”, line 357, in stream
data = self.read(amt=amt, decode_content=decode_content)
File “/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py”, line 324, in read
flush_decoder = True
File “/usr/lib64/python2.7/contextlib.py”, line 35, in exit
self.gen.throw(type, value, traceback)
File “/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py”, line 246, in _error_catcher
raise ReadTimeoutError(self._pool, None, ‘Read timed out.’)
ReadTimeoutError: HTTPSConnectionPool(host=‘s3.amazonaws.com’, port=443): Read timed out.