Streamlit warning

Any way that I try to import Streamlit, it gives back this Warning message:

Warning: to view this Streamlit app on a browser, run it with the following

  • command:*

Any help? I can’t find any evidence of this problem anywhere else.

@ekay460 I believe that warning is usual because you are trying to run it through the python command.

Can you try the below command to see if the script works fine?

streamlit run main.py

Each time I try to run it, it gives me more error codes.

It says that there is an “unresolved reference to ‘run’”

@ekay460 , are you creating a new terminal and running it through the command prompt? It looks like you’re running it through a python IDE / through a python command.

If you want to create a new terminal, you can do

  1. command + space on mac
  2. type terminal
  3. hit enter
  4. type streamlit run main.py

Let me know if this works for you.

Also, thanks for posting your first issue on streamlit and thanks for using streamlit :slight_smile: