Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Piergiorgio Sartor Newsgroups: comp.os.linux.misc,comp.lang.python Subject: Re: Defeat Python "Virtual Environment" in Fedora ? Date: Wed, 11 Mar 2026 21:51:15 +0100 Organization: A noiseless patient Spider Lines: 22 Message-ID: <37198m-v79.ln1@lazy.lzy> References: <10olgca$2vj8v$1@dont-email.me> <10opbd6$aupd$1@dont-email.me> <2l368m-do5.ln1@lazy.lzy> <10osioo$3e4cl$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 11 Mar 2026 20:52:53 +0000 (UTC) Injection-Info: dont-email.me; posting-host="d329a9e916fb1ef28f7e7d2773417f1a"; logging-data="1520672"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+c/oi7FqwBUX3D26397PUS" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:hwbMcpxCsF6BKAZbG5aF519gskk= In-Reply-To: <10osioo$3e4cl$1@dont-email.me> Content-Language: it, en-GB Xref: csiph.com comp.os.linux.misc:82867 comp.lang.python:197716 On 11/03/2026 21.19, Pancho wrote: [...] > My understanding is different. My understanding is that a venv only uses > packages installed locally in the venv.  It shouldn't default to a > global package if it is not found in the venv. This happened to me, so I removed almost all (non critical) system packages. > (caveat: it may use default site installed packages if told to do so). Maybe it was my initial setup like this. In any case, what I wanted to say is that the venv is not like a virtual machine, but just a different module search order. bye, -- piergiorgio