Hi, 2 of my apps suddenly stopped working, even though they have been working for the previous few months. This is the error
SystemError: initialization of _internal failed without raising an exception
From this link and this link and this link, it appears that it is because of a dependency issue with numpy and numba.
It appears that one needs to reinstall numba, which will then install the right version of numpy. But how do I do that when deploying onto the cloud?
I also tried manually editing my requirements.txt to the correct versions (numpy==1.23.1, numba==0.56.4) but it still shows, which indicates the incorrect versions are installed:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
numba 0.56.4 requires numpy<1.24,>=1.18, but you have numpy 1.24.3 which is incompatible.
I am able to run the app on my local windows device though. So the problem appears to be specific for the linux environment when deploying to streamlit cloud.
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.