Pip ssl errors
Fresh install on Mac OS X 10.14.6
$sage -pip install pycryptodome
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/pycryptodome/ ERROR: Could not find a version that satisfies the requirement pycryptodome (from versions: none) ERROR: No matching distribution found for pycryptodome WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 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
Worst this happens when installing the SSL module also.
We have endured this
ssl
pain in our collective ass since the origin of times, and this will subside until OpenSSL receives a GPL-compatible license. Since it is not yet the case, we cannot distribute OpenSSL with Sage source or in precompiled packages (some precompiled packages depending on, but not containing, OpenSSL are available for various Linux distributions).When compiling Sage by yourself, it is enough to install OpenSSL (and its development packages). I amnot aware of the solution to use to enable it in precompiled packages/distribution ; furthermore, I am aware that Apple's shenanigans with
Xcode
complicate the problem even further.Could you forward your question to
sage-support
?Is there no way to make pip work with NSS instead?