There are some links such as here for instructions on how to install pip2 on ubuntu with python 2.7, however when I run
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.pysudo python2.7 ~/get-pip.py
I get this error:Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skippingERROR: Could not find a version that satisfies the requirement pip<21.0 (from versions: none)ERROR: No matching distribution found for pip<21.0
How do I install pip on for python 2.7 on ubuntu?