Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Python pip Instllation issue

    Posted on

    [db2inst1@xxx Python-2.7.11]$ wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py -O - | python - --user
    --2020-04-15 07:45:48-- https://bootstrap.pypa.io/get-pip.py
    Resolving bootstrap.pypa.io... 199.232.36.175, 2a04:4e42:46::175
    Connecting to bootstrap.pypa.io|199.232.36.175|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1807342 (1.7M) [text/x-python]
    Saving to: “STDOUT”

    100%[=========================================================================================================================================================================>] 1,807,342 2.05M/s in 0.8s

    2020-04-15 07:45:49 (2.05 MB/s) - written to stdout [1807342/1807342]

    DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
    WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip/
    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip/
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip/
    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip/
    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip/
    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.",)) - skipping
    ERROR: Could not find a version that satisfies the requirement pip (from versions: none)
    ERROR: No matching distribution found for pip
    [db2inst1@xxx Python-2.7.11]$ cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 6.10 (Santiago)
    [db2inst1@xxx Python-2.7.11]$ python --version
    Python 2.7.11

    Please help to resolve the issue

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat