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”