I am deploying an app using streamlit share and getting this error. The code is working fine on my local but getting error on deployment. The requirement file is update and has an entry as
en_core_web_sm==2.2.0
This is the piece of code where I can getting error.
I’ve tried pip install en_core_web_sm but if fails, this does not seem like this package is available on Pypi, so I assume it wouldn’t do anything inside the requirements.txt file . Or maybe it’s a private package on another private Pypi server ?
This en_core_web_sm though does look like a Spacy model. So maybe this would do as a workaround:
Install spacy, by putting it in the requirements.txt file.