[root@24zabbix_agentd.d]# pip install requests
Collecting requests/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
SNIMissingWarning/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading requests-2.18.3-py2.py3-none-any.whl (88kB)100% |████████████████████████████████| 92kB 5.1kB/s
Collecting chardet<3.1.0,>=3.0.2 (fromrequests)
Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)100% |████████████████████████████████| 143kB 819bytes/s
Collecting urllib3<1.23,>=1.21.1 (fromrequests)
Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
Exception:
Traceback (most recent call last):
File"/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, inmain
status=self.run(options, args)
File"/usr/lib/python2.7/site-packages/pip/commands/install.py", line 307, inrun
requirement_set.prepare_files(finder)
File"/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 370, inprepare_files
ignore_dependencies=self.ignore_dependencies))
File"/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 587, in_prepare_file
session=self.session, hashes=hashes)
File"/usr/lib/python2.7/site-packages/pip/download.py", line 810, inunpack_url
hashes=hashes
File"/usr/lib/python2.7/site-packages/pip/download.py", line 649, inunpack_http_url
hashes)
File"/usr/lib/python2.7/site-packages/pip/download.py", line 871, in_download_http_url
_download_url(resp, link, content_file, hashes)
File"/usr/lib/python2.7/site-packages/pip/download.py", line 595, in_download_url
hashes.check_against_chunks(downloaded_chunks)
File"/usr/lib/python2.7/site-packages/pip/utils/hashes.py", line 46, incheck_against_chunksfor chunk inchunks:
File"/usr/lib/python2.7/site-packages/pip/download.py", line 563, inwritten_chunksfor chunk inchunks:
File"/usr/lib/python2.7/site-packages/pip/utils/ui.py", line 139, initerfor x init:
File"/usr/lib/python2.7/site-packages/pip/download.py", line 552, inresp_read
decode_content=False):
File"/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 353, instream
data= self.read(amt=amt, decode_content=decode_content)
File"/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 320, inread
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 242, in_error_catcher
raise ReadTimeoutError(self._pool, None,‘Read timed out.‘)
ReadTimeoutError: HTTPSConnectionPool(host=‘pypi.python.org‘, port=443): Read timed out.