I am trying to deploy my rasa bot to heroku and i am using python.
My requirements.txt file is like this :
spacy ==2.0.18
https://github.com/explosion/spacy-models/releases/download/en_core_web_md-2.0.0/en_core_web_md-2.0.0.tar.gz#egg=en_core_web_md==2.0.0
Deploying is successful but when i try to run job like this :
web : python -m spacy download en_core_web_md && python my_code.py
or
web : python -m spacy download en && python my_code.py
then I am getting this error :
File "/app/.heroku/python/lib/python3.6/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.
what can I do ?
Regards,
zekeriya