为了账号安全,请及时绑定邮箱和手机立即绑定

PIP安装失败,“连接错误:[SSL:证书_验证_失败]证书验证失败(_ssl.c:598)”

PIP安装失败,“连接错误:[SSL:证书_验证_失败]证书验证失败(_ssl.c:598)”

摇曳的蔷薇 2019-06-15 11:20:41
PIP安装失败,“连接错误:[SSL:证书_验证_失败]证书验证失败(_ssl.c:598)”我对Python非常陌生,并试图> pip install linkchecker在Windows 7.一些注意事项:无论软件包如何,PIP安装都失败了。例如,> pip install scrapy还会导致SSL错误。Python3.4.1的普通安装包含pip1.5.6。我要做的第一件事就是安装链接检查器。Python2.7已经安装好了,它附带了ArcGIS。python和pip在安装3.4.1之前,命令行中无法使用。> pip search linkchecker起作用了。这可能是因为PIP搜索不验证站点的SSL证书。我在一个公司的网络,但我们不通过代理访问互联网。每台公司的计算机(包括我的计算机)都有一个可信的根证书颁发机构,由于各种原因使用它,包括允许监视TLS通信量到https://google.com..不知道这和这事有什么关系。这是我的管道日志跑后pip install linkchecker:Downloading/unpacking linkchecker  Getting page https://pypi.python.org/simple/linkchecker/   Could not fetch URL https://pypi.python.org/simple/linkchecker/: connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate    verify failed (_ssl.c:598)   Will skip URL https://pypi.python.org/simple/linkchecker/ when looking for download links for linkchecker  Getting page https:   //pypi.python.org/simple/   Could not fetch URL https://pypi.python.org/simple/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443):    Max retries exceeded with url: /simple/ (Caused by <class 'http.client.CannotSendRequest'>: Request-sent)   Will skip URL https://pypi.python.org/simple/ when looking for download links for linkchecker  Cannot fetch index base    URL https://pypi.python.org/simple/   URLs to search for versions for linkchecker:   * https://pypi.python.org/simple/linkchecker/   Getting page https://pypi.python.org/simple/linkchecker/   Could not fetch URL https://pypi.python.org/simple/linkchecker/: connection error: [SSL: CERTIFICATE_VERIFY_FAILED]    certificate verify failed (_ssl.c:598)   Will skip URL https://pypi.python.org/simple/linkchecker/ when looking for download links for linkchecker     Could not find any downloads that satisfy the requirement linkcheckerCleaning up...
查看完整描述

3 回答

  • 3 回答
  • 0 关注
  • 5224 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信