anaconda pip失败(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:Users57296Anaconda3pkgsopenssl-1.1.1a-he774522_0Libraryin
如果先装Anaconda3再装python3那么在cmd里面输入python也会提醒错误,因为没有添加环境变量
而且pip也是也是一样的
C:Users57296Anaconda3 python的环境变量
C:Users57296Anaconda3Scripts pip的都需要添加到path里面
更多python知识请关注python教程。
来源:PY学习网:原文地址:https://www.py.cn/article.html