I just started getting the following error. This app has been working or a few months now. Is plotly still available?
ModuleNotFoundError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).
Traceback:
File "/home/appuser/venv/lib/python3.8/site-packages/streamlit/script_runner.py", line 379, in _run_script
exec(code, module.__dict__)File "/app/streamlit-dcps-covid/web.py", line 2, in <module>
import plotly.express as px, plotly.graph_objects as go
I forked the repo and it launched from my account, so I’m not sure what to suggest other than to reboot the app. We’re not limiting what packages are available on Streamlit Cloud; if it can be installed from PyPI or conda, then it should work.
One thing I will recommend for this specific app is you’ve pinned Streamlit to 0.89, but versions of Streamlit > 1.1 have some memory enhancements that will make the app work even better on Streamlit Cloud. So you might consider that upgrade, if your code supports it.
ModuleNotFoundError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 379, in _run_script
exec(code, module.__dict__)
File "/app/sat-vs-gpa/app.py", line 2, in <module>
import SAT_vs_GPA as model
File "/app/sat-vs-gpa/SAT_vs_GPA.py", line 3, in <module>
from matplotlib import pyplot as plt
I’m running into the same issues. I have plotly in my dashboard and it worked fine locally, but when I tried to deploy it’s getting the error “ModuleNotFoundError”
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.