Sujet : Re: Pip installs to unexpected place
De : grant.b.edwards (at) *nospam* gmail.com (Grant Edwards)
Groupes : comp.lang.pythonDate : 15. Apr 2025, 23:07:07
Autres entêtes
Message-ID : <mailman.11.1744754828.3008.python-list@python.org>
References : 1 2 3 4
User-Agent : slrn/1.0.3 (Linux)
On 2025-04-15, Thomas Passin via Python-list <
python-list@python.org> 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?