nlpserver icon indicating copy to clipboard operation
nlpserver copied to clipboard

spaCy v3.0 errors

Open p4u1d34n opened this issue 3 years ago • 4 comments

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

p4u1d34n avatar Mar 19 '21 15:03 p4u1d34n

Hi!

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

web64 avatar Mar 19 '21 15:03 web64

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

p4u1d34n avatar Mar 19 '21 15:03 p4u1d34n

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

p4u1d34n avatar Mar 19 '21 15:03 p4u1d34n

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

web64 avatar Mar 21 '21 15:03 web64