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.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.