Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIP Installation Error
#1
I am trying to install pip under non root user and I am getting the following error.

python --version
Python 2.7.11

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.10 (Santiago)

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/developmen...-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
Reply


Messages In This Thread
PIP Installation Error - by bhanukiran117 - Apr-15-2020, 09:00 AM
RE: PIP Installation Error - by bhanukiran117 - Apr-15-2020, 03:46 PM
RE: PIP Installation Error - by Larz60+ - Apr-15-2020, 07:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting "SSL client not supported by this Python installation" error prabirsarkar 0 983 Mar-13-2023, 05:01 PM
Last Post: prabirsarkar
  Pandas installation error pyzyx3qwerty 3 2,564 Jun-04-2020, 10:09 AM
Last Post: pyzyx3qwerty
  Beginner - simple package installation error mefeng2008 0 1,748 Mar-13-2020, 09:17 AM
Last Post: mefeng2008
  Installation Error:Tribon conflicted with Python3.8? sam2016 12 5,761 Dec-10-2019, 05:11 AM
Last Post: sam2016
  2.7.8 Python installation error Benjipincus 2 3,290 Dec-16-2017, 02:14 PM
Last Post: snippsat
  Python3 installation and venp error sunilgt 1 3,920 Jul-25-2017, 01:29 AM
Last Post: nilamo
  Module Dependency installation error draems 10 10,343 Feb-12-2017, 08:18 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020