Deutsch   English   Français   Italiano  
<mailman.75.1736871344.2912.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: c.buhtz@posteo.jp
Newsgroups: comp.lang.python
Subject: Re: Strategies for avoiding having to use --break-system-packages
 with pip
Date: Tue, 14 Jan 2025 16:09:16 +0000
Lines: 18
Message-ID: <mailman.75.1736871344.2912.python-list@python.org>
References: <jjuh5l-g7rv.ln1@q957.zbmc.eu>
 <c30dc116665722c330b43c23ad6bf653@posteo.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de oQB8N65PPQE/qWqL5qs9EgnImOK2fV4sPXzhMyQdD47A==
Cancel-Lock: sha1:4/On9/v/kDyqdfXfvudOD/Yby3I= sha256:dxxWDrtL4LWDtlYrufmM/u5N5YxA7fopH8uLiwq/aIs=
Return-Path: <c.buhtz@posteo.jp>
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=posteo.jp header.i=@posteo.jp header.b=cWWJR/lb;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.027
X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'yet.': 0.04; 'repository':
 0.05; '"new': 0.09; 'example.': 0.09; 'subject:packages': 0.09;
 'gnu/linux': 0.16; 'subject:pip': 0.16; 'python': 0.16;
 'applications': 0.17; 'to:addr:python-list': 0.20; 'install':
 0.23; 'received:de': 0.23; 'environment': 0.29; 'packages': 0.31;
 'official': 0.32; 'christian': 0.32; 'but': 0.32; 'subject:for':
 0.32; 'header:In-Reply-To:1': 0.34; 'package': 0.34; 'way': 0.38;
 'still': 0.40; 'try': 0.40; 'should': 0.40; 'similar': 0.63;
 'me.': 0.64; 'your': 0.64; 'virtual': 0.71; 'received:185': 0.71;
 'subject: \n ': 0.84; 'subject:Strategies': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.jp; s=2017;
 t=1736870957; bh=ABiSqddKjzoqKU3fpDAI0DDezbvGWx24qR/HI93/tFE=;
 h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type:
 Content-Transfer-Encoding:From;
 b=cWWJR/lbANfrzmGih++CU4pZFUmT8ORx/dkAVCpW7KYkvv0uUMSYOgCbA1EPTLqMA
 rBu0VugyFdBHGvFZT6Un0b4+hRUqKecfmANCn5uGqx9dcMGNtwqNOiUlu7MpM4IJdv
 Zb4O2YdiaDJXDkXpmxzOO76MwrRi6AmICk4a2IpQI2jLvLYWlyvnZWFNdsZOvwRgc8
 4b6zer/nalEOvzSz+OBsFTGXHuh3iGqR+nAHEqKSsTvvAptD9GGCb2wtc2aSnaF6LC
 Xk9aptF+MGPeGMSpN0v7rgM/6X2z1RbuhjBrFCA43QWVJA3U/16KYM1O9XJv7TVhBD
 5clZcjttXnwyg==
In-Reply-To: <jjuh5l-g7rv.ln1@q957.zbmc.eu>
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: <c30dc116665722c330b43c23ad6bf653@posteo.de>
X-Mailman-Original-References: <jjuh5l-g7rv.ln1@q957.zbmc.eu>
Bytes: 3874

Hello Chris,

I do have similar "problems" and still try to get used to the "new way".

Other might correct me. I am not sure yet.

To my current understanding the way to go is to install Python 
applications via "pipx". That make the application available in your 
system but also isolate it in its own virtual environment. Of course you 
should prefer to install applications from your GNU/Linux distros 
official repository if available.

If you install a Python package (library, not an application) you should 
create your own Python environment via venv for example. Pipx is not 
intended to install Python packages that are not applications.

Regrads,
Christian