Show blank page if using streamlit run main.py on macOS

Run Streamlit hello. It works but use streamlit run main.py. It does not work

Did you save the contents of main.py? Streamlit will not reflect the content of main.py until the content is saved.

main.py has been already saved before execute

Two months ago, it worked but now not work. It cannot support streamlit local server

  • Does streamlit hello work?
  • Does streamlit run work for any other file?
    1. Go to a clean directory.
    2. Create a simple app
      import streamlit as st
      st.write("hello")
      
    3. Can you streamlit run the simple app?

Hi Debbie,

All work for me. Thank