I'm new to Python and coding environment. A complete beginner. I've been working on my jupyter notebook recently on an EDA analysis. I've been running this statement for the past days on my Anaconda Prompt:
streamlit run file.py
Today, I did my usual thing but now I'm getting an error for my .py files: "Error: Streamlit requires raw Python (.py) files". When I got to my file I see this: the beginning of the file shows an error I've never seen before
I don't know what's going on and how to fix this. I went back to my Jupyter Notebook and redownloaded as a .py file but still getting the same error.
Please give me a detailed explanation. As I'm new, I want to understand the issue to its core. Might be an exaggeration but would love to learn more of my errors.
Thanks,
I don't know what to try. I looked at similar issues but don't quite understand what's going on.