To fix zsh: command not found: python, try using python3 instead, as modern macOS and Linux versions no longer include "python" by default. If that works, create an alias by adding alias python='python3' to your .zshrc file, then run source ~/.zshrc to apply the changes.