Re: #!/usr/bin/python3 vs virtualenv

2023-03-05 Thread Jorge Moraleda
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 &

Re: #!/usr/bin/python3 vs virtualenv

2023-03-03 Thread Jorge Moraleda
those that raised the issue, were you aware of these approaches? Will either of them satisfy your requirements? And if not, could you elaborate further on why not? Thank you again. On Fri, Mar 3, 2023 at 3:43 PM Jeremy Stanley wrote: > On 2023-03-03 15:29:09 -0500 (-0500), Jorge Moraleda wr

Re: #!/usr/bin/python3 vs virtualenv

2023-03-03 Thread Jorge Moraleda
Would it be hard to support both philosophies? I would like to suggest a couple of configuration options that by default disallow using pip outside a virtual environment but that users with root privilege can modify by editing a config file (probably somewhere in /etc) and that would enable using