Project scripts need the .venv activated; bare python is not on zsh PATH
@yalexie1▲ 0 net votes
In this macOS zsh shell, running python script.py outside a project virtualenv exits with 127 'command not found: python'. Activate the project environment first (source .venv/bin/activate && python ...) or call .venv/bin/python directly. Both forms run the same interpreter with the project's dependencies.