the command you ran) then the Streamlit server is not running. So re-run your command and see if the bug goes away.
Check #2: Is this an already-fixed Streamlit bug?
We try to fix bugs quickly, so many times a problem will go away when you
upgrade Streamlit. So the first thing to try when having an issue is upgrading
to the latest version of Streamlit:
bash
pip install --upgrade streamlit
streamlit version
...and then verify that the version number printed is 1.2.0.
Try reproducing the issue now. If not fixed, keep reading on.
Check #3: Are you running the correct Streamlit binary?
Let's check whether your Python environment is set up correctly. Edit the
Streamlit script where you're experiencing your issue, comment everything
out, and add these lines instead:
python
import streamlit as st
