

If I try pip install "urllib3" -upgrade or pip install -index-url -upgrade pip I get: Cannot fetch index base URL Ĭould not find any downloads that satisfy the requirement urllib3 in /usr/lib/python2.7/dist-packages When I try to pip install "urllib3" I get the following: Requirement already satisfied (use -upgrade to upgrade): urllib3 in /usr/lib/python2.7/dist-packages I don't have pip so I installed a legacy version using apt-get install python-pip The proposed solution for that is to use pip to upgrade urllib3 For more information, see ĮRROR: Could not find a version that satisfies the requirement pip<21.0 (from versions: none)ĮRROR: No matching distribution found for pip<21.0 You can upgrade to a newer version of Python to solve this. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. tmp/tmpBb3LJu/pip.zip/pip/_vendor/urllib3/util/ssl_.py:164: InsecurePlatformWarning: A true SSLContext object is not available. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. tmp/tmpBb3LJu/pip.zip/pip/_vendor/urllib3/util/ssl_.py:424: SNIMissingWarning: An HTTPS request has been made, but the SNI (Server Name Indication) extension to TLS is not available on this platform.

More details about Python 2 support in pip can be found at pip 21.0 will remove support for this functionality. pip 21.0 will drop support for Python 2.7 in January 2021.

Please upgrade your Python as Python 2.7 is no longer maintained. This gives me the following warning: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. I tried using get-pip.py from the docs to download pip: wget -c

We have a local environment built from the docker image for ubuntu 14.04 intended to replicate that environment (things still work there once everything is installed.) The packer build script that creates this environment recently stopped working apparently due to PyPi dropping non-SNI support. I have legacy production servers that are still running Python 2.7.6.
