В настоящее время я использую pip версии 1.5.4 в Ubuntu 14.04 и python 2.7.6 и не могу обновить pip до последней версии.
Когда я запускаю pip install --upgrade pip, я получаю следующую ошибку:
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip in ./.venv/lib/python2.7/site-packages
Downloading/unpacking pip
Cleaning up...
No distributions at all found for pip in ./.venv/lib/python2.7/site-packages
Storing debug log for failure in /home/buffcat/.pip/pip.log
И когда я пытаюсь обновить с помощью get-pip.py, я получаюследующая ошибка ssl:
/tmp/tmpKVfWOr/pip.zip/pip/_vendor/urllib3/util/ssl_.py:369: SNIMissingWarning: An HTTPS request has been made, but the SNI (Server 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.io/en/latest/advanced-usage.html#ssl-warnings
/tmp/tmpKVfWOr/pip.zip/pip/_vendor/urllib3/util/ssl_.py:160: 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.io/en/latest/advanced-usage.html#ssl-warnings
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed'),)': /simple/pip/
Что я могу сделать, чтобы обновить pip на моей машине?