Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.misc Subject: Re: Defeat Python "Virtual Environment" in Fedora ? Date: 9 Mar 2026 08:26:05 GMT Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 3SoWsACdY/7hVXC8SIDxAAX0coXHyVsq6dXyz9aqW1E/zlqax2 Cancel-Lock: sha1:UPFu22ArpVQVinFcpnC75ubKVU8= sha256:xxgNqT48d53zBbX6uOPqo8sf1q2Z8QcUsq5fZ9eR7D4= User-Agent: Pan/0.162 (Pokrosvk) Xref: csiph.com comp.os.linux.misc:82730 On Sun, 8 Mar 2026 22:11:42 -0400, c186282 wrote: > Oddly, in the huge net universe, I can't seem to find a good clean > generic way to DEFEAT the venv, > not even for Linux. Most advice mentions CL shit that doesn't > work/exist. I doubt it. I looked at Ubuntu, Fedora, Arch, and SUSE. They differ a bit but if you do manage to install something to the system site-packages you'll probably regret it. A couple of Ubuntu versions ago 'sudo pip3 install' would whine but install the package globally. According the the PEP the distros have their own Python binaries that may be patched from what you get from the python.org download but the distros themselves use Python so uninstalling their stuff and installing from python.org probably would be a disaster. Back around 2000 I switched from Red Hat Linux when their release not only broke gcc so it couldn't compile the kernel but their Python broke existing scripts. I don't know what would happen if you installed 3.13 from python.org on Fedora's 3.14 box and used uv to switch them around. I wouldn't go earlier than 3.13 since I think that's when f-strings were added.