FWIW, I am one of those power users that develop python applications and
prefer the simplicity of a single environment. In my personal experience,
installing using `sudo pip` (or user pip, which I don't do at all) is not a
frequent operation for users that choose to manage a single environment.
Personally, I use it only after searching in apt and confirming the package
is not there. Having to type --break-system-packages every time when I have
to do it is a good solution for me that I find completely reasonable.

Thank you!

On Sun, Mar 5, 2023 at 5:47 AM Julian Gilbey <jul...@d-and-j.net> wrote:

> On Fri, Mar 03, 2023 at 04:22:11PM -0500, Jorge Moraleda wrote:
> > Jeremy, Thank you for your quick reply!
> >
> > I did not know about `sudo pip install --break-system-packages foo` or
> `sudo rm
> > /usr/lib/python3.11/EXTERNALLY-MANAGED` (Frankly I only knew about this
> issue
> > what I have read on this discussion). This is very helpful and it really
> changes
> > my outlook on this topic.
>
> The --break-system-packages option is noted in
> /usr/share/doc/python3.11/README.venv, and this file is mentioned in
> the NEWS file for python3.11.  The
> /usr/lib/python3.11/EXTERNALLY-MANAGED file is not mentioned there; I
> personally think that having to type --break-system-packages every
> time one installs a package via pip globally or on a per-user basis is
> safer, as it reminds you that you run risks doing so.
>
> Best wishes,
>
>    Julian
>

Reply via email to