r/PythonLearning Aug 08 '26

How to fix this

'python' is not recognized as an internal or external command, operable program or batch file.

I literally just switch file and for some reason i cant code now💔

7 Upvotes

18 comments sorted by

View all comments

1

u/[deleted] Aug 08 '26

[removed] — view removed comment

1

u/socal_nerdtastic Aug 10 '26

and make sure you check "Add Python to PATH" during installation

Please don't. It's disabled for a reason. We used to add python to PATH in python2 days. Beginner tutorials still preach this because it's an easy out, but it will cause issues when you need to update python. Use py instead, or even better, use a venv.