Streamlit app stuck on please wait

i am trying to run a streamlit app but once i try to run the app it stuck on the please wait...

python version = 3.10.4
streamlit version = 1.12.0

code:


import streamlit as st

import pandas as pd

import numpy as np

st.title('Uber pickups in NYC')

json file configuration:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name":"Python:Streamlit",
            "type":"python",
            "request": "launch",
            "module": "streamlit",
            "args": [
                "run",
                "${file}",
                "--server.port",
                "5677"
            ]
        }
    ]
}

what am i doing wrong and how to make it work.

Hi @leb_dev,

Thanks for posting!

Are you running the app locally or is it deployed somewhere?

Caroline :balloon:

no it still on my localhost it seems that the app take a long time to run so about 4 or 5 minutes it stuck on please wait ... then it run normally but each time i restart the app i face the same issue.

how to fix this and what is the problem?

Hi @leb_dev,

Can you share your requirements file?

Caroline

what you mean by requirements file.

i am running on:

  • windows 10

  • python version 3.10

  • streamlit version 1.12.1

  • firefox version 104 | 64bit

Hi @leb_dev,

What versions of pandas and numpy are you using?

Caroline

  • pandas version 1.4.3

  • numpy version 1.23.2

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.