I'm working on a Linux machine Scientific Linux release 6.10 (Carbon)
administrated by my Company (I don't have admin privileges here).
This machine has some Python 2 versions installed, but I need a Python 3 to run a script.
So I downloaded Python source and ran configure
, make
(not make install
as I'm not admin).
Now I need pip some install some packages, so I downloaded https://bootstrap.pypa.io/get-pip.py and I run python get-pip.py
, but now I'm getting a warning and an error:
"Defaulting to user installation because normal site-packages is not writeable"
When I check privileges of site-packages
folder it's fully accessible (-rwxrwxrwx
) so what's wrong?
And then the script reports:
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
While SSL is definitely available openssl version -a
reports me the version installed.
What's wrong? Is it all due to the fact that I did not run make install
?