anaconda pip失败怎么办

小编给大家分享一下anaconda pip失败怎么办,希望大家阅读完这篇文章后大所收获,下面让我们一起去探讨吧!

anaconda使用pip提示ssl错误:

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https:*******: There was a problem confirming the ssl certificate:
Can’t connect to HTTPS URL because the SSL module is not available. - skipping

如果提示SSL错误,而且是Anaconda3底下的python,这时应该添加环境变量添加到path里面

C:\Users\57296\Anaconda3\pkgs\openssl-1.1.1a-he774522_0\Library\bin

如果先装Anaconda3再装python3那么在cmd里面输入python也会提醒错误,因为没有添加环境变量

而且pip也是也是一样的

C:\Users\57296\Anaconda3 python的环境变量

C:\Users\57296\Anaconda3\Scripts pip的都需要添加到path里面

看完了这篇文章,相信你对anaconda pip失败怎么办有了一定的了解,想了解更多相关知识,欢迎关注行业资讯频道,感谢各位的阅读!