I am getting this error message when I make a GET request to my app's URL.
File "/srv/main.py", line 12, in break_sentences
nlp = spacy.load('en')
File "/env/lib/python3.7/site-packages/spacy/__init__.py", line 15, in load
return util.load_model(name, **overrides)
File "/env/lib/python3.7/site-packages/spacy/util.py", line 119, in load_model
raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory."
I am using the new version of GAE Standard Environment with python37 runtime.
Someone with a similar issue in a different context was able to solve by updating their version of spaCy. It seems that if you install with conda, this issue arises.
Could it be possible that the Google folks used conda to install spaCy to the new Standard Environment and that is why this is happening here?
In any case... Can someone please HELP ME fix this and get my app running properly?
Thanks!