anacondapip失败(ssl错误)
anaconda使用pip提示ssl错误:推荐:anaconda使用教程
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里面
更多python知识请关注python视频教程。
以上是 anacondapip失败(ssl错误) 的全部内容, 来源链接: utcz.com/z/540881.html