When I try to do Ctrl
+ Alt
+ N
on VS Code (to run the code), it gives me the following error:
[Running] python -u "c:\Users\myName\OneDrive\Documents\folderName\d.py"
'python' is not recognized as an internal or external command,
operable program or batch file.
I have already added python to the environment variables and even modified python by adding it to PATH as several users stated, but I still get this error. Also restarted several times, and even redownloaded VS Code and Python. I don't know why this is happening, it was working perfectly until yesterday when my run button in the top right corner disappeared and since then even that isn't being seen even though I have the coderunner extension.
Also must note that when I type python
into a command prompt i get the same error, but py
works perfectly. Plus, my code will execute when I go to run and debug in vs code, but not when i do the shortcut. If you have a solution for the run button not showing up in the top right corner even for java, that would be great too!