Streamlit run SyntaxError: invalid syntax

I am trying to execute a streamlit application and I get the following error:

streamlit run SyntaxError: invalid syntax

I installed Streamlit using conda and pip and I still get the same error after verifying installation with “pip list” and “conda list” commands… please help

Hi @ThulaniNyama, welcome to the Streamlit community!

To use Streamlit, you run streamlit run outside of IPython, not inside. So the same way you made IPython come up, instead type in the Streamlit command.


1 Like

@randyzwitch thank you very much, I ran it from CMD after running the python command and its running faster than “Usian” :man_running:

1 Like