If you’re creating a debugging post, please include the following info:
- Share the link to the public app (deployed on Community Cloud).
https://oncogenesearch-r643qjutw25j7ndnvxbed8.streamlit.app/ - Share the link to your app’s public GitHub repository
- GitHub - RedcraftGT/OncoGeneSearch: ONCGSEARCH
5.(OncoGeneSearch/cbioportal_data.py at main · RedcraftGT/OncoGeneSearch · GitHub) - Share the full text of the error message (not a screenshot).
- 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/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py”, line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File “/home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 590, in code_to_exec
exec(code, module.dict)
File “/mount/src/oncogenesearch/cbioportal_data.py”, line 3, in
import matplotlib.pyplot as plt - Share the Streamlit and Python versions.
- latest streamlit python 3.12.3
I cant install matplotlib and I need it for pyplot,
works locally. I have →
strong textimport streamlit as st
import pandas as pd
import matplotlib.pyplot as plt
from bravado.client import SwaggerClient