Windows下“WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in ”

 

Windows下使用pip安装包的时候出现如下问题:

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

解决办法:

在环境变量Path中加入anaconda3的如下路径:

D:\appdata\anaconda3\condabin
D:\appdata\anaconda3\Scripts
D:\appdata\anaconda3\Library\bin
D:\appdata\anaconda3\
注意两点:

[1] 需要将anaconda3的路径换成你电脑上的路径,这里是我的电脑上anaconda的安装路径;

[2] 这里应该只适用于Anaconda的环境,其他可能不适用。

你可能感兴趣的:(3.,Python,Windows,pip,TLS,SSL)