pip is configured with locations that require TLS/SSL解决方法

今天在使用pip安装一个模块的时候出现了pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.这个错误,查询了好多资料发现是Anaconda环境变量的问题。
在系统环境中添加如下变量重启即可。

D:\ProgramData\Anaconda3
D:\ProgramData\Anaconda3\Scripts
D:\ProgramData\Anaconda3\Library\bin

参考
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not 解决方法

猜你喜欢

转载自blog.csdn.net/zy440458/article/details/114023442