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

c.buhtz at posteo.jp c.buhtz at posteo.jp
Tue Jan 14 11:09:16 EST 2025


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


More information about the Python-list mailing list