See which python binary your shell resolves first.
Section: Wrong interpreter or pip
Find python on POSIX
bash
bash
which pythonExplanation
A quick first check after activating a venv.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Wrong interpreter or pip
Use python -m pip for installs
Avoid ambiguity by tying pip to the active interpreter.
Refresh command hashing in zsh
Force zsh to refresh remembered command paths.