88
23
I want to be able to run Python commands from the Windows CMD. However, if I don't specify Python's full path for each command, I get an error saying "Python is not recognized as an internal or external command, operable program or batch file."
How do I add Python to the Windows PATH permanently?
1The interesting thing here is where Python actually gets installed. Earlier versions would go directly to a folder off the root (C:/Python27) but now it seems the default web install places it in the user's AppData/Local here: C:\Users{yourUserNameGoesHere}\AppData\Local\Programs\Python\Python36 I didn't check the box as Python was installing, but after adding this to the end of the path as other users have stated, it seems to work. At least, new command windows had this in the path, and python would start. Git BASH windows still used the old path and probably require a reboot. – MikeM – 2017-09-11T04:54:34.110
@alord1689 Right-click "My Computer" on the desktop and choose "Properties" – Michael Mrozek – 2012-11-01T04:23:52.763