My thanks again for this!
On Sat Nov18'23 08:26:10AM, George N. White III wrote:
From: "George N. White III" <gnwiii(a)gmail.com>
Date: Sat, 18 Nov 2023 08:26:10 -0400
To: Community support for Fedora users <users(a)lists.fedoraproject.org>
Reply-To: Community support for Fedora users <users(a)lists.fedoraproject.org>
Subject: Re: recommended practice for python 3.11 on F39
On Fri, Nov 17, 2023 at 10:29 PM Ranjan Maitra via users <
users(a)lists.fedoraproject.org> wrote:
> So, it turns out that there is no tensorflow for Python 3.12, which is
> what is shipped out with F39.
>
> I tried to downgrade my python using
>
> sudo dnf downgrade python --releasever=38
>
> that downgrades a huge bunch of things, including important components
> like rpm.
>
Many system tools use python -- as you have discovered, downgrading it will
cause problems.
>
> However, dnf install/update pretty much anything gives a segmentation
> fault after that.
>
> $ sudo dnf update --exclude=python\*
> Last metadata expiration check: 2:37:29 ago on Fri 17 Nov 2023 05:50:32 PM
> CST.
> Segmentation fault
>
> Staying within the dnf system, is there a better way to keep the older
> version of python around?
>
You broke dnf. Fix it and you can install the F39 python3.11 package.
There are ways
(environments, tweaks to the hashbang line in python scripts). With F38 I
used 3rd party
python tools that needed python-3.10. I haven't had time to see what is
provided with
F39, but you can look for conda or mamba packages.
I was not aware that it was possibe to install python3.11 using dnf in F39, so thanks for
this. Wow, amazing! The old tensorflow installation just works out of the box. Did not
expect that.
Thanks for this!
Anaconda Python is a widely used platform independent system that supports
use of multiple
python versions via environments.
Thanks also for all the other information, it is very helpful and I will keep it with me
for later use.
Best wishes,
Ranjan