Solve the ssl error when using pip to install dependencies

The error message is as follows:

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

The reason for the error is that the environment variable configuration of Anaconda is not complete enough. Open the computer properties -> advanced system settings -> environment variables, find the path, edit, and the complete configuration is as follows:

D:\ProgramData\Anaconda3

D:\ProgramData\Anaconda3\Scripts

D:\ProgramData\Anaconda3\Library\bin

 

Guess you like

Origin blog.csdn.net/qq_33391629/article/details/102832743