Fix pip require TLS/SSL Error in Win 10 – Python Tutorial

By | June 7, 2021

After you have installed Anaconda in win 10, you can use pip to install python packages. However, you may encounter this error: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. In this tutorial, we will introduce you how to fix it.

pip is configured with locations that require TLS SSL

How to fix this TLS/SSL error?

Because we have installed anaconda, we can add it to our computer environment variables.

D:\Users\yuzl11\Anaconda3\condabin
D:\Users\yuzl11\Anaconda3\Scripts
D:\Users\yuzl11\Anaconda3\Library\bin
D:\Users\yuzl11\Anaconda3\

Here D:\Users\yuzl11\Anaconda3 is the path of anaconda installation. You can change it to yours.

add anaconda to system environment variables

Then you will find this error is fixed.

If you have not installed anaconda, you may have to install openssl.

Leave a Reply