← All fixes
python: command not found (Mac / Linux)
#104Error
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 yet0 worked0 didn't
Tried it yourself?
Related fixes
bash: tsc: command not found (tool is installed in node_modules, not globally)
#64build.sh: line 1: tsc: command not found
nodenpmtypescriptVerifiedNo reports yet
ModuleNotFoundError: No module named 'dotenv' (the pip package is python-dotenv)
#94ModuleNotFoundError: No module named 'dotenv'
pythonVerifiedNo reports yet
'vite' is not recognized as an internal or external command (or vite: command not found)
#170'vite' is not recognized as an internal or external command, operable program or batch file.