I work on a remote server. When I try to install using pip in my virtual environment, I get an error message:
(venv) [barta@bivoj program]$ pip install -r requirements.txt
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting joblib==0.11 (from -r requirements.txt (line 1))
Could not fetch URL https://pypi.python.org/simple/joblib/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Everything works fine with python 2.7. Can I solve this problem myself (I do not have root access) or do I need to contact the administrator?
I first had this problem when I installed python 3.6 in my home folder. I realized that the problem could be due to the fact that it is in my home folder, so I asked for a clean install of python 3.6.
I considered changing setup.py and installing it again in my house, as suggested here by Claudio:
pip3 installs inside a virtual environment with python3.6 error due to inaccessibility of ssl module
but I did not find the openssl folder. There is openssl in / usr / bin, but it is not a directory. I searched the ssl.h file but did not find it anywhere.
source
share