Now it makes sense.
Current pip in Arch is 23.2.1-1, since 2023-05-03, and it’s already in Stable.
Maybe the only difference in Unstable and Testing is
the presence of ‘/usr/lib/python3.11/EXTERNALLY-MANAGED’.
I added it in my Stable system and got the error message for sudo pip install.
But with --user
, the message is a little different.
$ pip install --user httpx --dry-run
error: externally-managed-environment
× This environment is externally managed
╰─> The Python environment under /usr is managed externally, and may not be
manipulated by the user. Please use specific tooling from the distributor of
the Python installation to interact with this environment instead.
Don’t know where (on my system) the above different message is stored.
(Doesn’t matter, as I’m messing with Stable; on Unstable, Frede saw both messages the same.)
Note that it says “The Python environment under /usr is managed externally”
even though I’m trying to install under /home/.
If I remove ‘/usr/lib/python3.11/EXTERNALLY-MANAGED’ I get the old behaviour again.
EDIT: have added this topic to the guide here
EDIT2 (utc 230623 04:21) Clarified what I meant by “Don’t know where it’s from”.