You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The demo.py code imports from streamlit.hashing and streamlit.report_thread which are both deprecated and have been refactored in the latest versions of streamlit. This caused me to get e.g. ModuleNotFoundError: No module named 'streamlit.hashing' when trying to run the demo.
Downgrading to streamlit==1.0.0 resolved this for me.
Adding version information to the requirements.txt would solve this problem.
The text was updated successfully, but these errors were encountered:
If you go the fix-the-imports route with streamlit>=1.4.0, I think you'd also need to update this import.
FROM: from streamlit.report_thread import get_report_ctx
TO: from streamlit.script_run_context import get_script_run_ctx as get_report_ctx NB: I have not tested this.
The demo.py code imports from
streamlit.hashing
andstreamlit.report_thread
which are both deprecated and have been refactored in the latest versions of streamlit. This caused me to get e.g.ModuleNotFoundError: No module named 'streamlit.hashing'
when trying to run the demo.Downgrading to streamlit==1.0.0 resolved this for me.
Adding version information to the requirements.txt would solve this problem.
The text was updated successfully, but these errors were encountered: