Not able to execute just two lines of codes

Hello All,
I am very new to streamlit, just exploring the initial tutorial given in streamlit documentation of creating an app and got the following error. Can someone please help me to resolve the issue.

Thanks
Snehal

:wave: Welcome to the community, @Snehal_Ukey. You can run your app by using the command
streamlit run snehal.py in the terminal. It appears you are trying to run the app in some other way right now.
Also I would suggest creating an environment and installing necessary libraries in that going forward. It reduces the possibilities of errors. You can check out the steps here (Installation - Streamlit Docs).

2 Likes

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