{"by_status":{"unconfirmed":[{"id":"953b2917-ef17-4879-83f3-f1d1dd010b08","slug":"pip-error-externally-managed-environment-a62f","url":"https://api.modalhub.ai/r/pip-error-externally-managed-environment-a62f","symptom":"error: externally-managed-environment","cause":"pip 23.0+ honours PEP 668: an EXTERNALLY-MANAGED marker in the interpreter's stdlib dir (Debian/Ubuntu, Homebrew, uv-managed Pythons) blocks installs outside a venv","tool":"pip","version":"23.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":1,"dead_ends":[{"attempt":"pip install --break-system-packages, or deleting the EXTERNALLY-MANAGED file","why":"both bypass PEP 668, so pip overwrites packages the OS package manager owns and can break OS tools written in Python","reports":1,"record_url":"https://api.modalhub.ai/r/pip-error-externally-managed-environment-a62f"},{"attempt":"pip install --user, or sudo pip install","why":"same managed interpreter outside a venv: pip's marker check ignores --user and the uid, and stops with the identical error","reports":1,"record_url":"https://api.modalhub.ai/r/pip-error-externally-managed-environment-a62f"}],"tool":{"slug":"pip","name":"pip","records":1,"url":"https://api.modalhub.ai/t/pip"}}
