Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.os.linux.misc > #82780
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | rbowman <bowman@montana.com> |
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Defeat Python "Virtual Environment" in Fedora ? |
| Date | 9 Mar 2026 22:17:07 GMT |
| Lines | 55 |
| Message-ID | <n18v71F6kq6U4@mid.individual.net> (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> <n17g1gFuf59U3@mid.individual.net> <MECrR.39401$Ah%d.27085@fx11.iad> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net hivH6BxYydr6PKYF4oNOsw41PtEyXnrymnlscDrbdIdJJeUiV7 |
| Cancel-Lock | sha1:dE8qbJQlj9G0aXJw0nnI0X/sJdQ= sha256:90vI6+W3i7haaqTOGicyE+N81AUhWYk+Q088LcZHpPg= |
| User-Agent | Pan/0.162 (Pokrosvk) |
| Xref | csiph.com comp.os.linux.misc:82780 |
Show key headers only | View raw
On Mon, 09 Mar 2026 16:34:52 GMT, Charlie Gibbs wrote: > On 2026-03-09, rbowman <bowman@montana.com> wrote: > >> On Mon, 09 Mar 2026 02:47:51 GMT, Charlie Gibbs wrote: >> >>> I did write a little Python program that played with the various GUI >>> gadgets that it made available (with much less effort than doing it in >>> C). It made me think that I could write something that my wife might >>> actually be able to use. (I was careful to use Python 3, not 2.) >>> It would be nice if this remained a viable option; otherwise it's back >>> to writing Yet Another C Program. >> >> Stick to tkinter and you *should* be good. I say should because 'import >> tkinter' works on Mint, Ubuntu, and Fedora. On Leap you'd have to do >> 'zypper install python-tk' but it would then be global. Arch says it's >> python isn't configured for Tk. > > My little test program uses tkinter, and runs fine on Debian Bookworm. > Looks like a good start... https://www.i-programmer.info/news/216-python/18680-microsoft-unifies- python-environments.html I haven't tried the Python Environments extension in VS Code yet and post this mainly for the xkcd cartoon that I didn't find a direct link for. The extension arrives a little late for me, having been through the degraded Python phase several years ago. Lessons learned: Stick with the Python installed by the distro. It's what the distro uses behind the scenes. Many Python projects are well within the capabilities of the Python itself and the system site-packages. No problem, life goes on as before. Some additional packages can be installed from the distro repositories with something like 'sudo apt install python3-foo'. In that case, no problem, and life goes on... If you want to use PyQt, PySide6, PyGtk, PyTorch, Numpy, and so forth they probably will not be in the distros repositories. Create a venv, activate it, and then use pip to install them. Passing --system-site-packages to venv may or may not been needed. Use 'pip freeze -l' to save a list of what you have installed so you can recreate the venv. Use venv, not virtualenv, conda, or some other scheme. Do not try to game the setup by tweaking environment variables. Probably not necessary if you play by the rules but i use 'python3 -m venv' and 'python3 -m pip' If you've created the xkcd cartoon with 'another pip???' that makes sure that python and that pip are on the same page. Really, it isn't hard.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-08 05:31 -0400
Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-08 18:57 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Richard Kettlewell <invalid@invalid.invalid> - 2026-03-08 19:54 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-08 21:44 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Richard Kettlewell <invalid@invalid.invalid> - 2026-03-08 22:05 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-03-09 00:27 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-08 21:14 -0400
Re: Defeat Python "Virtual Environment" in Fedora ? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-03-09 02:47 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Rich <rich@example.invalid> - 2026-03-09 02:59 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-09 00:23 -0400
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 ? c186282 <c186282@nnada.net> - 2026-03-13 02:48 -0400
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 ? rbowman <bowman@montana.com> - 2026-03-12 02:11 +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
Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-09 00:03 -0400
Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-09 08:59 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-09 08:52 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-03-09 16:34 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-09 22:17 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-10 02:38 -0400
Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-09 08:41 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Nuno Silva <nunojsilva@invalid.invalid> - 2026-03-09 09:45 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-10 06:21 -0400
Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-10 18:24 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-11 04:20 -0400
Re: Defeat Python "Virtual Environment" in Fedora ? Rich <rich@example.invalid> - 2026-03-11 18:52 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Richard Kettlewell <invalid@invalid.invalid> - 2026-03-11 19:39 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Rich <rich@example.invalid> - 2026-03-11 20:14 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Richard Kettlewell <invalid@invalid.invalid> - 2026-03-11 23:00 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Pancho <Pancho.Jones@protonmail.com> - 2026-03-10 15:02 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-09 01:36 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-09 08:36 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-09 01:34 +0000
Re: Defeat Python "Virtual Environment" in Fedora ? c186282 <c186282@nnada.net> - 2026-03-08 22:11 -0400
Re: Defeat Python "Virtual Environment" in Fedora ? rbowman <bowman@montana.com> - 2026-03-09 08:26 +0000
csiph-web