Deutsch English Français Italiano |
<mailman.18.1744924528.3008.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!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: Thu, 17 Apr 2025 17:15:27 -0400 (EDT) Lines: 16 Message-ID: <mailman.18.1744924528.3008.python-list@python.org> 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> <cc1c6cf5-f8b9-4528-b6b0-110499b88162@wichmann.us> <4Zd3YM00SYznVKQ@mail.python.org> <CAJQBtgmfgC5aQy_7RXwHDbsxaf1UWYY0=FNsgPPR2UzzuKfTTA@mail.gmail.com> <4ZdrJv0v0LznV1q@mail.python.org> X-Trace: news.uni-berlin.de a3Z5sporj5zGaMOUOmYMsgw93RIoZ2Zo9Y6eIarq/zKQ== Cancel-Lock: sha1:w3opYWsag63PTHmWeQk1WpMzL9g= sha256:XQe0fqR9v09FhfSCFJ6v32+tVh/FtJqrn3lyE0xDW0Q= 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.093 X-Spam-Evidence: '*H*': 0.82; '*S*': 0.01; 'pip': 0.04; 'dependencies': 0.09; 'directories.': 0.16; 'from:addr:grant.b.edwards': 0.16; 'from:name:grant edwards': 0.16; 'packages.': 0.16; 'wrote:': 0.16; 'grant': 0.17; 'installing': 0.19; 'to:addr:python-list': 0.20; 'version': 0.23; 'install': 0.23; 'installed': 0.23; 'stuff': 0.25; 'header:User- Agent:1': 0.30; 'python-list': 0.32; 'but': 0.32; 'package': 0.34; 'from:addr:gmail.com': 0.34; 'source': 0.36; 'break': 0.39; 'still': 0.40; 'point.': 0.62; 'look': 0.65; 'generally': 0.67; 'right': 0.68; 'message-id:invalid': 0.69; 'see,': 0.76; 'left': 0.83; 'disagree': 0.84; 'forgot': 0.84; 'system).': 0.84 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: <4ZdrJv0v0LznV1q@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> <4ZcdYR5WnWznV1q@mail.python.org> <cc1c6cf5-f8b9-4528-b6b0-110499b88162@wichmann.us> <4Zd3YM00SYznVKQ@mail.python.org> <CAJQBtgmfgC5aQy_7RXwHDbsxaf1UWYY0=FNsgPPR2UzzuKfTTA@mail.gmail.com> Bytes: 3774 On 2025-04-17, Left Right via Python-list <python-list@python.org> wrote: >> Also... when installing stuff with pip --user, it is always a package >> that is not installed for the system (usually not even available for >> the system). How can that "break system packages"? > > pip installs dependencies. Dependencies may disagree on the version > with the system packages. Good point. I don't generally allow pip to install dependencies, so I forgot about that source of conflict. But as far as I can see, it still can only break stuff for the user, not for the system. The system is never going to look in my ~/.local/lib/python* directories. -- Grant