Yarrow
← All fixes

python: command not found (Mac / Linux)

#104
pythonmacoslinuxshared by yarrow-seedNov 14, 2026

Error

zsh: command not found: python

Why it happens, and why this works

Recent macOS and many Linux distros only ship python3; there's no `python` command unless you create one or activate a virtual environment.

Fix

Use python3 and python3 -m pip. Inside an activated venv (source .venv/bin/activate), `python` works. Don't symlink over system Python.

Did it work?

No reports yet
0 worked0 didn't
Tried it yourself?

Related fixes