Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197405

Re: Pip installs to unexpected place

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Grant Edwards <grant.b.edwards@gmail.com>
Newsgroups comp.lang.python
Subject Re: Pip installs to unexpected place
Date Tue, 15 Apr 2025 18:07:07 -0400 (EDT)
Lines 11
Message-ID <mailman.11.1744754828.3008.python-list@python.org> (permalink)
References <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com> <CAN06=CxPNLHtr_sdgphR2jrN1V+WbB8wZDJdbvfEDb-MYtmPHA@mail.gmail.com> <bbe32f47-13d2-459c-af22-4e0e37834091@tompassin.net> <4ZcdYR5WnWznV1q@mail.python.org>
X-Trace news.uni-berlin.de 2J7JlYUwCIcKm0iWpZDepAzdUG/5VghqF8Yp9W/Qk7zg==
Cancel-Lock sha1:VWx6HOIojqgZXeScxmcqJZ2T3kw= sha256:6FHhS5BJ9qe0t56YpnW46KJ0y2ljB193CiSmiD6yXf0=
Return-Path <grant.b.edwards@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
Authentication-Results mail.python.org; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'pip': 0.04; 'linux,': 0.07; 'insist': 0.09; 'install,': 0.09; 'flag': 0.16; 'from:addr:grant.b.edwards': 0.16; 'from:name:grant edwards': 0.16; 'privileges': 0.16; 'wrote:': 0.16; 'python': 0.16; 'admin': 0.19; 'installing': 0.19; 'to:addr:python-list': 0.20; "i've": 0.22; 'install': 0.23; 'saying': 0.25; 'so.': 0.26; 'header:User- Agent:1': 0.30; 'python-list': 0.32; 'but': 0.32; 'from:addr:gmail.com': 0.34; 'possibly': 0.36; "it's": 0.37; 'use': 0.39; 'break': 0.39; 'wants': 0.40; 'want': 0.40; 'true': 0.63; 'message-id:invalid': 0.69; 'little': 0.73
User-Agent slrn/1.0.3 (Linux)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.39
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <https://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <4ZcdYR5WnWznV1q@mail.python.org>
X-Mailman-Original-References <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com> <CAN06=CxPNLHtr_sdgphR2jrN1V+WbB8wZDJdbvfEDb-MYtmPHA@mail.gmail.com> <bbe32f47-13d2-459c-af22-4e0e37834091@tompassin.net>
Xref csiph.com comp.lang.python:197405

Show key headers only | View raw


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?

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: Pip installs to unexpected place Grant Edwards <grant.b.edwards@gmail.com> - 2025-04-15 18:07 -0400

csiph-web