Anaconda3 library installation error: pip is configured with locations that require TLS/SSL, however the ssl modul

When installing anaconda3, there is a problem when installing the library with pip:
pip is configured with locations that require TLS/SSL, however the ssl modul

It can be solved by adding environment variables:
1. Find the environment variable
windows10 Control Panel—>System and Security—>System—>Advanced System Settings—>Environment Variables

2. Add the directory where anaconda3 is installed on your computer in the path:
C:\Users\gezi9\Anaconda3
C:\Users\gezi9\Anaconda3\Scripts
C:\Users\gezi9\Anaconda3\Library\bin
insert image description here
After the operation is completed, you can pass pip installs the required libraries

Guess you like

Origin blog.csdn.net/weixin_41824534/article/details/108203086