Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197417
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Oscar Benjamin <oscar.j.benjamin@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Pip installs to unexpected place |
| Date | Fri, 18 Apr 2025 17:11:33 +0100 |
| Lines | 26 |
| Message-ID | <mailman.21.1744992708.3008.python-list@python.org> (permalink) |
| References | <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> <6d1ac10c-80c0-484b-a7e7-e1966cea1b5d@wichmann.us> <mailman.19.1744926071.3008.python-list@python.org> <m6dnueFg8f0U1@mid.individual.net> <20250418153848.w2hmxpegl3uwii3w@hjp.at> <CAHVvXxR6TDgm-1u_etxcHEGm33nDLQoO3Wimp9OJBXi9uTfpcw@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Trace | news.uni-berlin.de GIjmLuuw3Y5h+sdMDl1dngjhhZocSgy/GQHPZbMxv8vA== |
| Cancel-Lock | sha1:ii95RdK3QMbbpQd7Cg4e+SdEVhI= sha256:9BtWHnuZBTm0R6LqRNgYPL5R+PEpEycRtlzp+BJEIE8= |
| Return-Path | <oscar.j.benjamin@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| Authentication-Results | mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=jPnPDarO; dkim-adsp=pass; dkim-atps=neutral |
| X-Spam-Status | OK 0.014 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'looks': 0.02; 'scripts.': 0.07; 'python.': 0.08; 'mechanism': 0.09; "shouldn't": 0.09; '2025': 0.16; 'greg': 0.16; 'holzer': 0.16; 'mats': 0.16; 'root.': 0.16; 'wichmann': 0.16; 'wrote:': 0.16; 'python': 0.16; 'to:addr :python-list': 0.20; 'fri,': 0.22; 'installed': 0.23; 'seems': 0.26; "isn't": 0.27; 'packages': 0.31; 'am,': 0.31; 'message- id:@mail.gmail.com': 0.31; "doesn't": 0.32; 'disabled': 0.32; 'python-list': 0.32; 'path': 0.33; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34; 'package': 0.34; 'from:addr:gmail.com': 0.34; 'this.': 0.35; 'really': 0.36; "it's": 0.37; "couldn't": 0.40; 'place.': 0.40; 'should': 0.40; "there's": 0.61; 'great': 0.62; 'between': 0.63; 'look': 0.65; 'skip:# 10': 0.68; 'manager': 0.68; 'easy': 0.74; 'completely.': 0.84; 'oscar': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744992705; x=1745597505; darn=python.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=2LgpWYACvrRmIBZUHaZNet7OwpjYPqrVQuqDpcnd81A=; b=jPnPDarOQqEF+kc89GKziTbxlpo3unS80LzXJVc7jjhcm+LuS5YC9a50qsd3jwsz3X DkctjeBsrZqhHWoHCOBuF9ji1rHgbg3922XtgkasX2wNyvkVcq2qDuH9/Cn9U8O31tlL Pt81VeSDlLVtwjGO7Ce6NYeBDSOM6hPTLzLJH/Px+bF0+Lc3rFozjl/C+FQUrRk5Z1f8 WeVgBLLlYwMJDGAinTUpnKT7naAv8JsWTzarNyWF4m610cKf4eIszNPA2iqR3Zi5za1K K+zcGSny4jREN4M85IWF9SwYngAH0Ib+yzvnipjqPv1G6OToTDV3ve3J55mk8/hluBqA 1VIg== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744992705; x=1745597505; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2LgpWYACvrRmIBZUHaZNet7OwpjYPqrVQuqDpcnd81A=; b=mxLx1sJ146yEMZsJ1HQjjaOXqeeG90q2X7++14i6HtRc/tDVl/5ctNu8bhdwY9hYYF Dq6F1BgDVIxuNLmoFfkvQm2EK6RNSkQBdc5MH6MBptWWV2cgLsBw/quM6kEq6NSSntOy ZhrYl6Ftv3kuc1bnLyqX6rgMbAW4LC/21pqaRY38UaEDSAc6/ueg2BNmHA4TFDZ1dVZo EYo9J/Ugiw5ty+s2sJkQKkFanidQQQeL0qsJnIsXZH/Uk/2m+GqK1OR/WcdRt6XDIjCr pmB4dFaOO4a2E/IEsB92tRRjBv2eREUAGFzUg3F/wTznDMN9ghahq3Z/DIu0z/HTDmQS YZRA== |
| X-Gm-Message-State | AOJu0Yz8Q3XsEfVJNWO0gMfMun56ApNd07i698iHPeSX/lQmr2HA5sHV QdtJmbnzWCDb1owGK1wDcLsztDbZ3MERGlVCNQmI8eYrMLVUa8p1HpBS/vs9bQ5KR56ycEk+Qf1 IngJA/2YZ/lb1ZID3uxhfaYAMFPI8CAPM |
| X-Gm-Gg | ASbGncvSYyVczx3LhiEwTdUO4V91uJgqkyQndWc6Qf47ib6/FqW4wM1iDPOWGZbq1Ne Bf7xKo9O0FfEB6s3TsdDrTzNmKKSYHhrSoC68wjNnaDN4QGgwYAQCH9iRFus8S2P5W7yk/oSGpM OKYzns5N3Os0pCmkPh89lTn6tGAijK4l5IdrhjFjTCARb7TmUMKJqDXAmX |
| X-Google-Smtp-Source | AGHT+IHa0FALPkb/qZDbhqc1EhWzOgrnIboyuaXuN1ximtyZIiRg2kPO9HIGODQGvo/Syk80Ri877TsNzKTeKWFTk2c= |
| X-Received | by 2002:a05:6808:4e1b:b0:400:d72e:8e6b with SMTP id 5614622812f47-401c0918b90mr1831099b6e.1.1744992705076; Fri, 18 Apr 2025 09:11:45 -0700 (PDT) |
| In-Reply-To | <20250418153848.w2hmxpegl3uwii3w@hjp.at> |
| X-Gm-Features | ATxdqUE9tHfRbe1ZDvgoxWKYkYhBRT0FZqahinfiRBbbU2yYcbV73KauNYl_WVM |
| 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 | <CAHVvXxR6TDgm-1u_etxcHEGm33nDLQoO3Wimp9OJBXi9uTfpcw@mail.gmail.com> |
| X-Mailman-Original-References | <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> <6d1ac10c-80c0-484b-a7e7-e1966cea1b5d@wichmann.us> <mailman.19.1744926071.3008.python-list@python.org> <m6dnueFg8f0U1@mid.individual.net> <20250418153848.w2hmxpegl3uwii3w@hjp.at> |
| Xref | csiph.com comp.lang.python:197417 |
Show key headers only | View raw
On Fri, 18 Apr 2025 at 16:50, Peter J. Holzer via Python-list <python-list@python.org> wrote: > > On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote: > > On 18/04/25 9:41 am, Mats Wichmann wrote: > > > There's just not a really great answer to this. > > > > Seems to me a system-installed application shouldn't be looking in the > > user's .local packages in the first place. That should only be for things > > the user has installed "for this user". > > It's not the application that looks into .local, it's Python. If you say > that a system-installed Python shouldn't look into ~/.local, then you've > just disabled that mechanism completely. If not then Python would > somehow have to distinguish between system-installed and user-installed > scripts. This isn't as easy as checking whether the path starts with > /usr/bin or whether it belongs to root. Tying into the system's package > manager doesn't look appealing to me (not to mention that it might be > unacceptably slow). Couldn't the system-installed scripts have a shebang like: #!/usr/bin/python3 -s -- Oscar
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Pip installs to unexpected place Mats Wichmann <mats@wichmann.us> - 2025-04-17 15:41 -0600
Re: Pip installs to unexpected place Greg Ewing <greg.ewing@canterbury.ac.nz> - 2025-04-18 13:24 +1200
Re: Pip installs to unexpected place (Posting On Python-List Prohibited) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-04-18 02:20 +0000
Re: Pip installs to unexpected place "Peter J. Holzer" <hjp-python@hjp.at> - 2025-04-18 17:38 +0200
Re: Pip installs to unexpected place Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2025-04-18 17:11 +0100
Re: Pip installs to unexpected place Thomas Passin <list1@tompassin.net> - 2025-04-18 13:08 -0400
Re: Pip installs to unexpected place "Peter J. Holzer" <hjp-python@hjp.at> - 2025-04-19 10:38 +0200
Re: Pip installs to unexpected place "Peter J. Holzer" <hjp-python@hjp.at> - 2025-04-19 10:56 +0200
Re: Pip installs to unexpected place songbird <songbird@anthive.com> - 2025-04-19 07:49 -0400
Re: Pip installs to unexpected place Thomas Passin <list1@tompassin.net> - 2025-04-19 15:56 -0400
Re: Pip installs to unexpected place rbowman <bowman@montana.com> - 2025-04-20 04:34 +0000
csiph-web