Hello Im a beginner in coding python , totally new on this, my terminal window shows the "zsh:command not found" error, it also shows the "python not found" error , appreciate any help I can get in this , Im running MacOs Monterey the latest version
I have tried installing extensions so far nothing
2
Answers
Here are some things you can try.
Install latest version of python for your system from the official python repository https://www.python.org/downloads/
Restart Terminal/Vscode where you are attempting to run python
On mac as far as I remember there is only python3 alias, so to use python you type
python3
. You can also add other interpreter by adding line liketo your .zshrc file(open for example with
nano ~/.zshrc
)