On 18/11/23 03:29, Ranjan Maitra via users 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.
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 should try something like Pyenv [1] or miniconda [2] to manage
different Python versions instead of messing around with the system
packages.
[1]:
https://github.com/pyenv/pyenv
[2]:
https://docs.conda.io/projects/miniconda/en/latest/
--
Hiep