On my Mac OS, I have installed python 2.7.15 because it is required for a project.
Then in the project folder, I have created virtual environment virtualenv -p /usr/local/bin/python venv and activated it
Now python -V Python 2.7.15
pip -V pip 10.0.1 from /Users/.../Work/.../venv/lib/python2.7/site-packages/pip (python 2.7)
I try to install the project: pip install myProject but it fails with this error: pip is configured with locations that require TLS/SSL, however, the SSL module in Python is not available.
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.",)':
If I use python and pip, not from venv everything works properly. How to configure SSL in python in Virtual Environment on Mac OS?