Cannot use pip because pip is configured with locations that require TLS/SSL
I installed pip by
sage -i pip, but when I use pip to install some python packages, it always gives the following error message:
sys:1: RuntimeWarning: not adding directory '' to sys.path since everybody can write to it.
Untrusted users could put files in this directory which might then be imported by your Python code. As a general precaution from similar exploits, you should not execute Python code from this directory
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.python.org/simple/octave-kernel/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement octave_kernel (from versions: )
No matching distribution found for octave_kernel
Then I followed this post which says
./sage -i pyopenssl, but this step fails for me also.