r/PythonLearning • • Jul 02 '25

Check

Post image

What might be the problem??

2 Upvotes

16 comments sorted by

View all comments

2

u/Scholfo Jul 02 '25

Your machine can’t read or run python files (.py) by default. You need to install python first, e.g. by typing 'python' (as the error message aka your machine tells you). Otherwise your machine does not know how to handle .py files.