Re: [GTALUG] Borked Python setup, please help

2022-11-09 Thread Tim Tisdall via talk
The OS has python needs and your app has its own. It's usually best to keep those things independent to avoid dependency conflicts. Using something like virtualenv or pyenv to create a separate python environment and then using the pip in it to install dependencies works well. --- Post to this

Re: [GTALUG] Borked Python setup, please help

2022-11-09 Thread Lennart Sorensen via talk
On Wed, Nov 09, 2022 at 12:04:44PM -0500, D. Hugh Redelmeier via talk wrote: > If I had to guess, Evan's problem (the one that started this thread) stems > from a software package that hasn't been updated in some time and no > longer matches what the distro provides. > > Packages bit-rot. One

Re: [GTALUG] Borked Python setup, please help

2022-11-09 Thread D. Hugh Redelmeier via talk
| From: Lennart Sorensen via talk | Well as far as I can tell every major linux distribution has got it right, | and the issue mainly seems to happen on windows where apparently people | can't get anything right. If I had to guess, Evan's problem (the one that started this thread) stems from a

Re: [GTALUG] Borked Python setup, please help

2022-11-08 Thread Lennart Sorensen via talk
On Tue, Nov 08, 2022 at 02:24:03PM -0500, Stewart C. Russell via talk wrote: > That's the problem: no other language has tried to do the rule-from-above > thing. And they are guidelines, right, so they're optional? > > I think you might have a lifetime to spend explaining that at just about >

Re: [GTALUG] Borked Python setup, please help

2022-11-08 Thread Stewart C. Russell via talk
On 07/11/2022 20.14, Lennart Sorensen wrote: Well anything that follows the guidelines from python upstream would know that python is never python3. That's the problem: no other language has tried to do the rule-from-above thing. And they are guidelines, right, so they're optional? python

Re: [GTALUG] Borked Python setup, please help

2022-11-07 Thread Lennart Sorensen via talk
On Mon, Nov 07, 2022 at 02:53:55PM -0500, Stewart Russell via talk wrote: > You bet! I think it will continue for some time. > > I *think* that systems are only supposed to provide an executable called > "python3" now, but de facto, the executable "python" seems to be a > free-for-all. I only

Re: [GTALUG] Borked Python setup, please help

2022-11-07 Thread Lennart Sorensen via talk
On Sun, Nov 06, 2022 at 11:59:21PM -0500, Stewart C. Russell via talk wrote: > Did you accidentally install "python-is-python2"? It will break modern > things in a hilarious manner. > > There's python-is-python3 to undo the damage. Well anything that follows the guidelines from python upstream

Re: [GTALUG] Borked Python setup, please help

2022-11-07 Thread Seneca Cunningham via talk
> On Nov 7, 2022, at 16:21, Evan Leibovitch wrote: > (Now what do I do with all this cruft in ~/.local and ~/.cache?) Depends upon what it is. It could be python modules, Firefox cache files, bits and bobs from zsh accessories, nvim swap files, who knows. That’s the joy of the XDG Base

Re: [GTALUG] Borked Python setup, please help

2022-11-07 Thread Evan Leibovitch via talk
Hi Seneca, So... I reinstalled all of the Ubuntu Python module packages you mentioned, without much progress until I reinstalled python3-attr. Then the errors and messages reduced but I could see other things missing. Re-installing python3-babelfish and python-automat have reduced the error

Re: [GTALUG] Borked Python setup, please help

2022-11-07 Thread Evan Leibovitch via talk
On Mon, Nov 7, 2022 at 10:42 AM D. Hugh Redelmeier via talk wrote: > I get almost all my software from my distro (Fedora Linux). But there are > reasons > to get things through Python's "pip". Surely these two sources clash. > I'm almost certain that this is at least a partial source of my

Re: [GTALUG] Borked Python setup, please help

2022-11-07 Thread Stewart Russell via talk
On Mon, Nov 7, 2022 at 10:41 AM D. Hugh Redelmeier via talk wrote: > Wow. The Python2 -> Python3 transition is still claiming victims! > You bet! I think it will continue for some time. I *think* that systems are only supposed to provide an executable called "python3" now, but de facto, the

Re: [GTALUG] Borked Python setup, please help

2022-11-07 Thread Seneca Cunningham via talk
On Nov 6, 2022, at 21:14, Evan Leibovitch via talk wrote: > > Ubuntu server 22.04 LTS But did you install all your packages and dependencies through normal Ubuntu packages? The paths in the “deluged” traceback suggest that not all of them were, but that’s going on my old understanding that

Re: [GTALUG] Borked Python setup, please help

2022-11-07 Thread D. Hugh Redelmeier via talk
| From: Stewart C. Russell via talk | Did you accidentally install "python-is-python2"? It will break modern things | in a hilarious manner. | | There's python-is-python3 to undo the damage. Wow. The Python2 -> Python3 transition is still claiming victims! I am not sold on containers, but it

Re: [GTALUG] Borked Python setup, please help

2022-11-07 Thread Evan Leibovitch via talk
Thanks, but didn't help. Evan Leibovitch, Toronto Canada @evanleibovitch / @el56 On Mon, Nov 7, 2022 at 12:00 AM Stewart C. Russell via talk wrote: > On 06/11/2022 21.14, Evan Leibovitch via talk wrote: > > > I must have done something really wrong when an app I was trying to > install a few

Re: [GTALUG] Borked Python setup, please help

2022-11-06 Thread Stewart C. Russell via talk
On 06/11/2022 21.14, Evan Leibovitch via talk wrote: I must have done something really wrong when an app I was trying to install a few days ago insisted on running on Python 2. Did you accidentally install "python-is-python2"? It will break modern things in a hilarious manner. There's

[GTALUG] Borked Python setup, please help

2022-11-06 Thread Evan Leibovitch via talk
Ubuntu server 22.04 LTS I must have done something really wrong when an app I was trying to install a few days ago insisted on running on Python 2. I installed some stuff (don´t recall what) that made it work, but it appears to have broken the other Python three apps that I have been using on the