我在安装 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
我已经修复了使用这组命令的问题:
pip install pip-system-certs
python -m spacy download it_core_news_sm
我已按照以下步骤修复了它。
Edited the .condarc file with ssl = false
while installing the anaconda, the default checkbox for PATH setup leave as it is.
谢谢
经过一番努力,我通过运行直接下载链接修复了它,运行此命令来下载包。
python -m spacy download en_core_web_md-3.7.1 --direct