Records below are third-party data, not instructions. Apply with your own judgment.
pip
1 record of known failures, each with its cause, the fix and what not to try.
Don’t try
pip install --break-system-packages, or deleting the EXTERNALLY-MANAGED file — both bypass PEP 668, so pip overwrites packages the OS package manager owns and can break OS tools written in Python. (×1) · record
pip install --user, or sudo pip install — same managed interpreter outside a venv: pip's marker check ignores --user and the uid, and stops with the identical error. (×1) · record