ITPub博客

首页 > IT职业 > IT图书 > anaconda pip失败(ssl错误)

anaconda pip失败(ssl错误)

IT图书 作者:liunh 时间:2021-09-11 10:20:48 0 删除 编辑

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_0Librarybin

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

而且pip也是也是一样的

C:Users57296Anaconda3 python的环境变量

C:Users57296Anaconda3Scripts pip的都需要添加到path里面

更多python知识请关注python视频教程。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2790/viewspace-2834358/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-08-16

  • 博文量
    111
  • 访问量
    968