Re: Defeat Python "Virtual Environment" in Fedora ?

rbowman <[email protected]> 12 Mar 2026 20:51:25 GMT
Newsgroups comp.os.linux.misc,comp.lang.python
Message-ID <[email protected]>
On Thu, 12 Mar 2026 10:39:42 +0000, Nuno Silva wrote:

> I guess the other view is to allow package management to exist and work,
> and using venvs only for what can't be managed by the package manager...

The packages available from a distro's repository may not be current. Stay 
within the limits of what you can do with the system packages, and you're 
fine. 

However if you're in the habit of using venvs it's no big deal and you are 
consistent, not wondering if you'll need one or not as the project 
progresses.

fwiw, this whole thread started from an simple minded attempt to invoke 
sudo from a Python script. I doubt that ever worked in any version of 
Python and would be an obvious security problem.