Skip to content
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

spaCy v3.0 errors #11

Open
p4u1d34n opened this issue Mar 19, 2021 · 4 comments
Open

spaCy v3.0 errors #11

p4u1d34n opened this issue Mar 19, 2021 · 4 comments

Comments

@p4u1d34n
Copy link

OSError: [E941] Can't find model 'es'. It looks like you're trying to load a model from a shortcut, which is deprecated as of spaCy v3.0. To load the model, use its full name instead:

nlp = spacy.load("es_core_news_sm")

OS: Ubuntu 20
Python 3.8.5
spaCy 3.0.5

@web64
Copy link
Owner

web64 commented Mar 19, 2021

Hi!

The nlpserver has not been upgraded to Spacy v3 yet, unfortunately.
Hoping to have that ready soon!

@p4u1d34n
Copy link
Author

ah.. then the requirements.txt doesn't differentiate spacy versions and i think the installer just grabbed the newest one..

@p4u1d34n
Copy link
Author

got it working with - pip3 install spacy==2.3.5
then redownloaded the packages

@web64
Copy link
Owner

web64 commented Mar 21, 2021

Ok, great! Yes, we need to update the docs and requirements for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants