John
John

Reputation: 101

OSError while deploying Django in App Engine

So trying to deploy my Django app in App Engine Flexible, I get the following error:

OSError: [E050] Can't find model 'nlp\light\Fine_tuned_spacy_model\'. It doesn't seem to be a Python package or a valid path to a data directory.

My Django app is working fine localy.

Upvotes: 4

Views: 37

Answers (1)

Anossef ben
Anossef ben

Reputation: 56

I had encountered the same problem, I think you should specify the full path when using spacy.load

Try adding /home/vmagent/app/ to the beginning of your path.

Upvotes: 4

Related Questions