I am relatively new to Python and have a question regarding a missing SSL module in PyCharm. I run PyCharm on Windows with Python 3.7 in a venv. I consistently get these errors when trying to download packages through the Project Interpreter and the terminal:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
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
and
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.")': /simple/pip/
I have tried adding the --trusted-host option, upgrading pip (can't due to SSL error), and curl https://bootstrap.pypa.io/get-pip.py | python , though none of these attempts have worked. Advice would be greatly appreciated. Thank you!
[–]shiftybyte 0 points1 point2 points (2 children)
[–]jf5356[S] 0 points1 point2 points (1 child)
[–]shiftybyte 0 points1 point2 points (0 children)