Ec2 streamlit stuck on loading screen while running streamlit hello

I have the same problem now - I’ve managed to load the hello app without a problem now, but my own app keeps giving the same error, as you’re describing:

  • I get the overall ‘Streamlit cannot hash an object of type <class ‘os._Environ’>.,’
  • and then the same error for every single function that was using cache: ‘Streamlit failed to hash an object of type <class ‘function’>.,’
  • underneath the warnings is the error call stack - see attached below:

Update: This error is most likely covered here: https://github.com/streamlit/streamlit/issues/242 and as per Thiago’s message earlier today, it has been fixed and should go into prod version over the next couple of days (Blindly following setup instructions)