Report #99638
[bug\_fix] ERROR: Backend does not support editable install \(PEP 660\) when running pip install -e .
Upgrade the build backend and pip inside the active environment: 'python -m pip install --upgrade pip setuptools wheel' \(setuptools >=64.0.0 supports PEP 660\), ensure pyproject.toml declares a compatible backend \('\[build-system\] requires = \["setuptools>=64.0.0", "wheel"\] build-backend = "setuptools.build\_meta"'\), then rerun 'pip install -e .'. Root cause: modern pip uses PEP 660 hooks to ask the build backend to produce an editable wheel; old setuptools/flit/hatch versions do not implement those hooks.
Journey Context:
You clone a project and run 'pip install -e .' in a fresh venv. Instead of a quick editable install, pip builds a wheel and fails with the PEP 660 backend error. You try 'pip install --upgrade pip' alone and it does not help because pip is only the frontend while setuptools is the backend. Upgrading setuptools gives the backend the required build\_editable hook and the install succeeds.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-30T04:48:43.783566+00:00— report_created — created