Streamlit stuck at "running"


On my windows laptop, my streamlit application (not deployed yet) was running in my conda environment without issues this morning.

After I stopped the streamlit application and ran it again in the afternoon, the application was stuck at “RUNNING”.

Steps to reproduce

Within anaconda prompt

conda activate conda_env
cd \path\to\streamlitappfolder
streamlit run

  • A “localhost:” tab boots up in my browser
  • Stuck at “RUNNING”

Scenario 2

  • Clear browser cache
  • continue with the steps in scenario 1

Scenario 3

  • settings > ‘uncheck’ run on save
  • press ‘stop’
  • wait for some time
  • press ‘rerun’

Expected behavior:

Streamlit app to run and load normally, instead of being stuck at “running”

Debug info

  • Streamlit version: 1.19.0
  • Python version: 3.9.0
  • Using Conda
  • OS version: Windows 11
  • Browser version: Google Chrome 110.0.5481.178

Hey @KaiquanMah, can you share a code snippet so we can try to reproduce the issue?

Hi Caroline,

My Streamlit app was alright 2 days after I posted the query.

I am wondering whether it could be other applications running in the background competing for my RAM and CPU. So during those 2 days, my Streamlit app was not able to load properly on my laptop.

I’m encountering the same issue with my application, it was running just fine but after a few hours I got back to it and run it again but it gets stuck at “running” when I click on the camera live input option, other than that it works fine with other options.