Can't find model 'en'. #7365
-
I meet the problem "Can't find model 'en'.". When I use "python3 -m spacy download en" to download en model, nothing happened. I also can not run my codes. My Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Could you provide the details (commands + log output) of all the commands you ran, starting from the creation of the new env, the installation of spaCy and the download command? Just to check whether there were any warnings or anything suspicious, because it's kind of hard for us to help determine what goes wrong otherwise. |
Beta Was this translation helpful? Give feedback.
-
Every time I use the command "python -m spacy download en", I get errors: |
Beta Was this translation helpful? Give feedback.
-
Hm, not sure what's causing that, I don't see any issues when I try to download the models myself. Perhaps a firewall on your system or network? You can try installing the models directly from pip: https://spacy.io/usage/models#download-pip
And then load the model with |
Beta Was this translation helpful? Give feedback.
-
Great, it works! Thank you very much for your patience! |
Beta Was this translation helpful? Give feedback.
Hm, not sure what's causing that, I don't see any issues when I try to download the models myself. Perhaps a firewall on your system or network?
You can try installing the models directly from pip: https://spacy.io/usage/models#download-pip
And then load the model with
spacy.load('en_core_web_sm')
. Hope that works for you!