Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197716

Re: Defeat Python "Virtual Environment" in Fedora ?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de>
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> (permalink)
References <V8ycnZvJx85o3DD0nZ2dnZfqn_qdnZ2d@giganews.com> <n15v43Fnb2vU1@mid.individual.net> <wwvh5qqf65y.fsf@LkoBDZeT.terraraq.uk> <n168u7FoahkU4@mid.individual.net> <wwvh5qqou32.fsf@LkoBDZeT.terraraq.uk> <qtorR.1788$AQT1.1612@fx23.iad> <ZDydnZjxcqdMgzP0nZ2dnZfqn_GdnZ2d@giganews.com> <rxqrR.126$K1h6.4@fx06.iad> <10olgca$2vj8v$1@dont-email.me> <Jqqcnd0iaK0X0TP0nZ2dnZfqnPGdnZ2d@giganews.com> <wwvzf4humr5.fsf@LkoBDZeT.terraraq.uk> <Mz-dncj6_cJ1IzL0nZ2dnZfqn_WdnZ2d@giganews.com> <10opbd6$aupd$1@dont-email.me> <ToScnRzIUalo0y30nZ2dnZfqn_SdnZ2d@giganews.com> <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

Cross-posted to 2 groups.

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Defeat Python "Virtual Environment" in Fedora ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-09 03:55 +0000
  Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-09 00:28 -0400
    Re: Defeat Python "Virtual Environment" in Fedora ? Jon Ribbens <jon+usenet@unequivocal.eu> - 2026-03-09 08:16 +0000
    Re: Defeat Python "Virtual Environment" in Fedora ? Richard Kettlewell <invalid@invalid.invalid> - 2026-03-09 13:59 +0000
      Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-10 02:49 -0400
        Re: Defeat Python "Virtual Environment" in Fedora ? Richard Kettlewell <invalid@invalid.invalid> - 2026-03-10 08:47 +0000
          Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-10 06:14 -0400
        Re: Defeat Python "Virtual Environment" in Fedora ? Rich <rich@example.invalid> - 2026-03-10 14:55 +0000
          Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-10 13:03 -0400
            Re: Defeat Python "Virtual Environment" in Fedora ? Jon Ribbens <jon+usenet@unequivocal.eu> - 2026-03-10 17:09 +0000
              Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-11 02:48 -0400
                Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-11 07:32 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? Richard Kettlewell <invalid@invalid.invalid> - 2026-03-11 08:40 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? Gilmeh Serda <gilmeh.serda@nothing.here.invalid> - 2026-03-13 06:07 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? Jon Ribbens <jon+usenet@unequivocal.eu> - 2026-03-11 11:58 +0000
            Re: Defeat Python "Virtual Environment" in Fedora ? Richard Kettlewell <invalid@invalid.invalid> - 2026-03-10 17:56 +0000
            Re: Defeat Python "Virtual Environment" in Fedora ? Rich <rich@example.invalid> - 2026-03-10 18:13 +0000
              Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-10 23:51 +0000
            Re: Defeat Python "Virtual Environment" in Fedora ? Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2026-03-10 19:14 +0100
              Re: Defeat Python "Virtual Environment" in Fedora ? mm0fmf <none@invalid.com> - 2026-03-11 17:14 +0000
              Re: Defeat Python "Virtual Environment" in Fedora ? Pancho <Pancho.Jones@protonmail.com> - 2026-03-11 20:19 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2026-03-11 21:51 +0100
                Re: Defeat Python "Virtual Environment" in Fedora ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-11 21:35 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-12 02:14 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? Nuno Silva <nunojsilva@invalid.invalid> - 2026-03-12 10:39 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-12 20:51 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? Pancho <Pancho.Jones@protonmail.com> - 2026-03-13 09:34 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-13 21:49 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? Pancho <Pancho.Jones@protonmail.com> - 2026-03-13 23:28 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-14 01:17 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-14 03:21 -0400
                Re: Defeat Python "Virtual Environment" in Fedora ? The Natural Philosopher <tnp@invalid.invalid> - 2026-03-14 12:23 +0000
                Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-14 19:18 +0000
            Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-10 19:36 +0000
        Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-10 18:26 +0000

csiph-web