VSCode: The term 'python' is not recognized…but py works
问题 I just installed python on VS Code and I can't run any python code using python command. python command: Running the code seems to run python command by default and it does not recognize it. When I right click and choose Run Code it complains: 'python' is not recognized as an internal or external command, operable program or batch file Same goes for manually running python main.py . When I open an elevated PowerShell and run python , it complains: python : The term 'python' is not recognized