Avoid ambiguity by tying pip to the active interpreter.
Section: Wrong interpreter or pip
Use python -m pip for installs
bash
bash
python -m pip install -r requirements.txtExplanation
This is a best practice when multiple Python installations are present.
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