-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL error when downloading models #4297
Comments
Are you behind a proxy? The problem here is likely this one and happens in I think the easiest workaround is to just download the Now that the |
@ines Hi Ines, thank you for your reply. I am using a corporate laptop so I guess it is behind proxy. For downloading the package to a directory, if I am using a virtual environment, what directory should I download to? Currently the Spacy folder itself is in venv/lib/spacy |
@yutingwum spaCy models are regular Python packages and the pip install /local/path/to/en_core_web_sm-2.1.0.tar.gz This will automatically install the model in your Python environment, like any other package. You'll them be able to load it via |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Situation
I tired to download Spacy models on virtual environment with Python 3.6.5. After successfully download Spacy with the line
pip install rasa[spacy]
, I tried to download the English model withpython -m spacy download en_core_web_md
. But an SSLErrorr was raised. I looked into other similar issues including #3066, #2248, #2212I tried the following line
python3 -m spacy download en_core_web_md-2.1.8 --direct
but did not work and threw the same error as well.Please see the below output.
Your Environment
The text was updated successfully, but these errors were encountered: