# Revision history [back]

### 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. Collecting octave_kernel 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 (groups.google.com/forum/#!topic/sage-support/c2fm64j55Jk) which says ./sage -i pyopenssl, but this step fails for me also.

### 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. Collecting octave_kernel 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 (groups.google.com/forum/#!topic/sage-support/c2fm64j55Jk) post which says ./sage -i pyopenssl, but this step fails for me also.