Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSL Certificate error while installing Spacy

Tags:

spacy

rasa

rasa-x

I am facing the below error while installing 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)')))

Command i'm running : python -m spacy download en_core_web_md

like image 356
krkc Avatar asked Oct 31 '25 08:10

krkc


1 Answers

I have fixed using this set of commands:

pip install pip-system-certs
python -m spacy download it_core_news_sm

Ref: https://github.com/explosion/spaCy/discussions/5649

like image 114
IlRicciardelli Avatar answered Nov 03 '25 00:11

IlRicciardelli



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!