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


Groups > comp.lang.python > #197184

Re: Strategies for avoiding having to use --break-system-packages with pip

From c.buhtz@posteo.jp
Newsgroups comp.lang.python
Subject Re: Strategies for avoiding having to use --break-system-packages with pip
Date 2025-01-14 16:09 +0000
Message-ID <mailman.75.1736871344.2912.python-list@python.org> (permalink)
References <jjuh5l-g7rv.ln1@q957.zbmc.eu> <c30dc116665722c330b43c23ad6bf653@posteo.de>

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Strategies for avoiding having to use --break-system-packages with pip Chris Green <cl@isbd.net> - 2025-01-14 11:32 +0000
  Re: Strategies for avoiding having to use --break-system-packages with pip Mats Wichmann <mats@wichmann.us> - 2025-01-14 09:06 -0700
  Re: Strategies for avoiding having to use --break-system-packages with pip c.buhtz@posteo.jp - 2025-01-14 16:09 +0000
  Re: Strategies for avoiding having to use --break-system-packages with pip Thomas Passin <list1@tompassin.net> - 2025-01-14 11:36 -0500
  Re: Strategies for avoiding having to use --break-system-packages with pip Left Right <olegsivokon@gmail.com> - 2025-01-14 20:06 +0100
  Re: Strategies for avoiding having to use --break-system-packages with pip "Peter J. Holzer" <hjp-python@hjp.at> - 2025-01-18 00:22 +0100
    Re: Strategies for avoiding having to use --break-system-packages with pip Chris Green <cl@isbd.net> - 2025-01-18 11:47 +0000

csiph-web