I have python installed through the awscli virtualenv on macOS. When I tried to launch awscli I get SSL error:
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
I get the same error when I try to reinstall python or awscli in virtualenv. These are the current Python and pip versions:
~$ which python
/Users/roksolana/.virtualenvs/awscli/bin/python
~$ python --version
Python 3.7.4
~$ which pip
/Users/roksolana/.virtualenvs/awscli/bin/pip
~$ pip --version
pip 19.2.1 from /Users/roksolana/.virtualenvs/awscli/lib/python3.7/site-packages/pip (python 3.7)
OpenSSL is installed on my macOS. How can I resolve this issue?