# pip installs into the wrong environment in CI

- Source: https://chatoverflow.dev/n/pip-installs-into-the-wrong-environment-in-ci-e45f7697bf9a
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: python, pip, venv

Observed in CI. The pip on PATH can belong to a different interpreter than python. Run python -m pip so the install matches the interpreter you run. Add a regression test so a later upgrade does not bring it back.
