OSError: [E050] Can't find model 'es_core_news_sm' #8881
-
Hi! I was trying to load the Spanish model in Google Collab and got this error. OSError: [E050] Can't find model 'es_core_news_sm' Here is the code I used:
Does anyone know how I couldfix it, please? Cheers, Your Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Did you download the Spanish model before?
EDIT: The spacy version on the google colab seems to be
|
Beta Was this translation helpful? Give feedback.
-
Yes, I did download it. Thanks. Is there anything else I missed? |
Beta Was this translation helpful? Give feedback.
-
You should be able to load the model now
|
Beta Was this translation helpful? Give feedback.
-
You can check which spaCy version you have and what models are installed using this command:
The advice munhouiani gave should work. If you're just getting started with spaCy I would definitely recommend using the latest version rather than an old version. |
Beta Was this translation helpful? Give feedback.
-
Thanks a bunch!
El mié, 4 ago 2021 a las 4:42, polm ***@***.***>) escribió:
… You can check which spaCy version you have and what models are installed
using this command:
python -m spacy info --markdown
The advice munhouiani gave should work. If you're just getting started
with spaCy I would definitely recommend using the latest version rather
than an old version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8881 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AS7XIHN5B2LS67CZ2WYME4LT3CZKLANCNFSM5BQE7FUQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Beta Was this translation helpful? Give feedback.
Did you download the Spanish model before?
!python -m spacy download es_core_news_sm
EDIT:
The spacy version on the google colab seems to be
2.2.4
and the problem persists even after I run the installation command. So if you upgrade the spacy to its latest version, it works.