Re: Pip installs to unexpected place

Grant Edwards <[email protected]>
Newsgroups comp.lang.python
Message-ID <[email protected]>
On 2025-04-15, Thomas Passin via Python-list <[email protected]> wrote:

> On Linux, at least, it's standard for pip to install into the user's 
> site-packages location if it's not invoked with admin privileges - even 
> without --user. Pip will emit a message saying so. Well, that used to be 
> true but nowadays Pip wants you to use the --break-system-packages flag 
> if you want to insist on installing into the system's Python install, 
> even if it's going to go into --user.

I've always been a little baffled by that message when installing with
--user.  How can that possibly break system stuff?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.