How can I fix the `zsh: command not found: python` error on macOS Monterey when using Atom and Python 3.10?

Great point, @ishrth_fathima !

I’ve also been coding Python for several years and seen the same zsh: command not found: python issue. One extra wrinkle: Atom launched via Finder or Spotlight doesn’t inherit your .zshrc, so even your symlink or aliases might not be picked up.

My tip is: always launch Atom from the terminal instead, so it inherits your shell environment. Just run:

open -a Atom

Or better yet, install Atom’s shell command via:

Atom → Command Palette → “Install Shell Commands”

This ensures your PATH, and symlink, are respected, avoiding zsh: command not found: python inside Atom-run scripts.