On Fri, Nov 17, 2023 at 10:29 PM Ranjan Maitra via users < users@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.
Anaconda Python is a widely used platform independent system that supports use of multiple python versions via environments.
Many thanks, Ranjan -- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue