Ben Chuanlong Du's Blog

It is never too late to learn.

Fail to Install Packages into Python Virtual Environment in PyCharm on Windows

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Error Message

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

Solutions

One simple way to fix it is to inherit the site packages when you create the virtual environment.

References

https://github.com/pypa/virtualenv/issues/1139

https://medium.com/@moreless/pip-complains-there-is-no-ssl-support-in-python-edbdce548852

https://www.tomordonez.com/pip-install-ssl-module-python-is-not-available.html

Comments