AttributeError: module 'streamlit' has no attribute 'get_report_ctx'

Have a look on this Using Streamlit: how to post a question in the Streamlit forum to properly document your issue.