• Defeat Python "Virtual Environment" in Linux ?

    From c186282@[email protected] to comp.os.linux.misc on Tue Mar 10 02:32:36 2026
    From Newsgroup: comp.os.linux.misc

    On 3/9/26 04:26, rbowman wrote:> 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.

    There's a --break-packages option needed ... sounds
    ominous but, so far, it works.


    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.
    Why's everything a disaster these days ? Was MUCH
    better just a few years ago.

    Hmm ... insidious M$ plot ? :-)

    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.
    Yes, it CAN get messy.

    When I was younger this was ok, a 'challenge' (and I
    got paid for it). Now I'm an old fart and just want
    stuff to WORK. Decades of refinement in Linux ... so why
    is it less and less likely to Just Work ???

    I've had some experience with the BSDs ... maybe
    that's the better road now ?

    Hmm ... Python and beyond ... all the EASY commands to
    do things have been 'deprecated' ... now you need 24
    kinds of weird vars/lists/arrays/types just to do
    something simple. See it in Python, also FPC, the
    rot has likely spread even further.

    This is NOT "better", not at all.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@[email protected] to comp.os.linux.misc on Tue Mar 10 18:13:45 2026
    From Newsgroup: comp.os.linux.misc

    On Tue, 10 Mar 2026 02:32:36 -0400, c186282 wrote:

    I've had some experience with the BSDs ... maybe that's the better
    road now ?

    I thought you said you wanted stuff that just worked?
    --- Synchronet 3.21d-Linux NewsLink 1.2