I am trying to execute a streamlit application and I get the following error:
streamlit run file_name.py 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 base_app.py outside of IPython, not inside. So the same way you made IPython come up, instead type in the Streamlit command.
Best,
Randy
@randyzwitch thank you very much, I ran it from CMD after running the python command and its running faster than “Usian” 