I'm using mac air m2 now and I'm trying to use python in vscode. I downloaded python from vscode, created a file called 1.py, and entered the command 1 + 1
[Running] python -u "/Applications/securety/programming/Python coding/1.py"
/bin/sh: python: command not found
[Done] exited with code=127 in 0.009 seconds
got this error
How can I fix the error?
I also downloaded python and python extension pack from vs code
pythonfrom vscode is an extension for the editor... Have you installed python in your system? what do you get if you enterpythonin the terminal?