Home > OS >  Install TensorFlow is appear this kind of circumstance
Install TensorFlow is appear this kind of circumstance

Time:10-04

ERROR: the Exception:
Traceback (the most recent call last) :
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/cli/base_command py", line 178, the main in
Status=self. The run (options, args)
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/commands/install. Py", line 352, in the run
Resolver. Resolve (requirement_set)
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/resolve py", line 131, resolve in
Self. _resolve_one (requirement_set, the req)
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/resolve py", line 294, in _resolve_one
Abstract_dist=self. _get_abstract_dist_for (req_to_install)
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/resolve py", line 242, in _get_abstract_dist_for
Self. Require_hashes
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/operations/prepare py", line 347, in prepare_linked_requirement
Progress_bar=self. Progress_bar
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/download py", line 886, in unpack_url
Progress_bar=progress_bar
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/download py", line 746, in unpack_http_url
Progress_bar)
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/download py", line 954, in _download_http_url
_download_url (resp, link, content_file hashes, progress_bar)
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/download py", line 683, in _download_url
Hashes. Check_against_chunks (downloaded_chunks)
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/utils/hashes. Py", line 62, in check_against_chunks
For the chunk in chunks:
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/download py", line 651, in written_chunks
For the chunk in chunks:
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/utils/UI. Py", line 156, in iter
For x in it:
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_internal/download py", line 640, in resp_read
Decode_content=False) :
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_vendor urllib3/response. Py", line 494, in the stream
Data=https://bbs.csdn.net/topics/self.read (amt=amt, decode_content=decode_content)
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_vendor urllib3/response. Py", line 459, in the read
Raise IncompleteRead (self _fp_bytes_read, self length_remaining)
The File "/usr/lib/python2.7/contextlib py", line 35, in __exit__
Self. Gen. Throw (type, value, traceback)
The File "/home/wangjie/local/lib/python2.7/site - packages/PIP/_vendor urllib3/response. Py", line 374, in _error_catcher
Raise ReadTimeoutError (self _pool, None, 'Read timed out.')
='files.pythonhosted.org' ReadTimeoutError: HTTPSConnectionPool (host, port=443) : Read timed out.

CodePudding user response:

The cause of the network, after all, is a foreign site, you can refer to my summary of installation tutorial: https://blog.csdn.net/qq_39234705/article/details/83241129
  • Related