【问题标题】:SSL Certificate error while installing Spacy安装 Spacy 时出现 SSL 证书错误
【发布时间】:2021-09-13 06:09:15
【问题描述】:

我在安装 Spacy 时遇到以下错误。

requests.exceptions.SSLError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /explosion/spacy-models/master/compatibility.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))

我正在运行的命令: python -m spacy download en_core_web_md

【问题讨论】:

  • 您好,我是 spaCy 开发人员。我们之前也收到过类似错误的报告,但这一直是用户互联网连接的问题。也许您使用的是公司 Intranet 或不可靠的连接或其他什么?
  • 您好,感谢您的回复。是的,我在公司网络上。你能帮我修一下吗?
  • 很遗憾,我们对此无能为力,因为我们这边没有任何问题,您必须向您的 IT 部门寻求帮助。
  • 其实可能是你的 Python 太老了或者别的什么问题,试试看这里的说明:stackoverflow.com/questions/55742788/…

标签: spacy rasa rasa-x


【解决方案1】:

我已按照以下步骤修复它。

Edited the .condarc file with ssl = false
while installing the anaconda, the default checkbox for PATH setup leave as it is.

谢谢

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-04-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-06
    • 1970-01-01
    • 2012-05-02
    • 1970-01-01
    相关资源
    最近更新 更多