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

时间:2023-12-11 11:26:56

pip install 时报错:

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

解决办法:

For Windows 10 if you want use pip in normal cmd, not only in Anaconda prompt. you need add 3 environment paths. like the followings:

D:\Anaconda3;
D:\Anaconda3\Scripts;
D:\Anaconda3\Library\bin
most people only add D:\Anaconda3\Scripts;