Error in Installing spacy en_core_web_lg on Heroku app
I don't know why it is not installing from direct requirements.txt
file.But there is another way but that is not right but the work will go on.First you have to remove the package from requirements.txt
file for which the error is coming.Then push the app on Heroku
, once your app have come to Heroku
then wrote this code either from the terminal
or from the Heroku
dashboard
.
if you are using terminal
than :
heroku run bash
than run
pip install spacy
and than install which requiremts you want from spacy
python -m spacy download en_core_web_lg
if you are using Heroku dashboard
than :first go to your Heroku dashboard
click on your app and than at top right click on More
and select the Run Console
example imagethan this interface will come upin this you have to click on bash
or type bash
and runafter this you can put same cammand and install.I wish you could solve your problem in this way. (: