Server Geographical location:Asia/HongKong
ServerOS: Centos1503\1810\1908\1911
Tried most centos systems Centos7-8
Tried various python pip yum Replacement of source and system update.All made mistakes and never succeeded
Hope to get help, at least once I can experience cyberpanel
WARNING: Running pip install with root privileges is generally not a good idea. Try pip3.6 install --user
instead.
Collecting virtualenv
Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.p y3-none-any.whl (3.4MB)
Exception:
Traceback (most recent call last):
File β/usr/lib/python3.6/site-packages/pip/_vendor/urllib3/response.pyβ, line 302, in _error_catcher
yield
File β/usr/lib/python3.6/site-packages/pip/_vendor/urllib3/response.pyβ, line 384, in read
data = self._fp.read(amt)
File β/usr/lib/python3.6/site-packages/pip/_vendor/cachecontrol/filewrapper.pyβ, line 60, in read
data = self.__fp.read(amt)
File β/usr/lib64/python3.6/http/client.pyβ, line 459, in read
n = self.readinto(b)
File β/usr/lib64/python3.6/http/client.pyβ, line 503, in readinto
n = self.fp.readinto(b)
File β/usr/lib64/python3.6/socket.pyβ, line 586, in readinto
return self._sock.recv_into(b)
File β/usr/lib64/python3.6/ssl.pyβ, line 968, in recv_into
return self.read(nbytes, buffer)
File β/usr/lib64/python3.6/ssl.pyβ, line 830, in read
return self._sslobj.read(len, buffer)
File β/usr/lib64/python3.6/ssl.pyβ, line 587, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File β/usr/lib/python3.6/site-packages/pip/basecommand.pyβ, line 215, in main
status = self.run(options, args)
File β/usr/lib/python3.6/site-packages/pip/commands/install.pyβ, line 346, in run
requirement_set.prepare_files(finder)
File β/usr/lib/python3.6/site-packages/pip/req/req_set.pyβ, line 381, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File β/usr/lib/python3.6/site-packages/pip/req/req_set.pyβ, line 623, in _prepare_file
session=self.session, hashes=hashes)
File β/usr/lib/python3.6/site-packages/pip/download.pyβ, line 821, in unpack_url
hashes=hashes
File β/usr/lib/python3.6/site-packages/pip/download.pyβ, line 659, in unpack_http_url
hashes)
File β/usr/lib/python3.6/site-packages/pip/download.pyβ, line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
File β/usr/lib/python3.6/site-packages/pip/download.pyβ, line 603, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File β/usr/lib/python3.6/site-packages/pip/utils/hashes.pyβ, line 46, in check_against_chunks
for chunk in chunks:
File β/usr/lib/python3.6/site-packages/pip/download.pyβ, line 571, in written_chunks
for chunk in chunks:
File β/usr/lib/python3.6/site-packages/pip/utils/ui.pyβ, line 139, in iter
for x in it:
File β/usr/lib/python3.6/site-packages/pip/download.pyβ, line 560, in resp_read
decode_content=False):
File β/usr/lib/python3.6/site-packages/pip/_vendor/urllib3/response.pyβ, line 436, in stream
data = self.read(amt=amt, decode_content=decode_content)
File β/usr/lib/python3.6/site-packages/pip/_vendor/urllib3/response.pyβ, line 401, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File β/usr/lib64/python3.6/contextlib.pyβ, line 99, in exit
self.gen.throw(type, value, traceback)
File β/usr/lib/python3.6/site-packages/pip/_vendor/urllib3/response.pyβ, line 307, in _error_catcher
raise ReadTimeoutError(self._pool, None, βRead timed out.β)
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=βfiles.pythonhosted.orgβ, port=443): Read timed out.