From d31bbb737a4443d41592225651b05a3fdb27be8e Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sat, 4 Mar 2023 11:23:50 +0000 Subject: [PATCH] Make it so pip install --user still works Debian has enabled `EXTERNALLY-MANAGED` from PEP 668 which breaks `pip install --user`. I think this is a terrible decision, understandable to want to avoid modifications in `/usr/lib/python*/site-packages` but to have that stop be installing packages in my home directory is a big mistake in terms of usability. In any case this patch sets the override flag in `pip.conf` even though I'm never actually touching the real site packages. --- pip.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pip.conf b/pip.conf index ae2efd7..dc08533 100644 --- a/pip.conf +++ b/pip.conf @@ -1,2 +1,5 @@ +[global] +break-system-packages = true + [list] format=columns