Could not install spaCy language model behind proxy, got error SSL: Certificate_Verify_Failed

Viewed 108

I'm trying to install en_core_web_sm on my company computer (Windows 10) which has proxy firewall. I've tried downloading the package and install from local directory using conda terminal command:

python -m pip install ./en_core_web_sm-3.0.0.tar.gz

which is an answer from this post: SSL: CERTIFICATE_VERIFY_FAILED error while downloading python -m spacy download en

But I still get the same error on SSL: CERTIFICATE_VERIFY_FAILED. My question is why is SSL still being checked when installing from local folder.

In addition, is there a direct way to simply load the downloaded language model package? I've unzip the files and save in my working directory, and I wrote this in my python code:

nlp = spacy.load("/en_core_web_sm-3.0.0/")

This also didn't work. Got an error about Can't find the model 'en/core_web_sm-3.0.0'.

Thanks for your help.

1 Answers
Related