简体   繁体   中英

tensorflow w/ python 3.9 (in Fedora 33)?

I installed Fedora 33 and it uses Python 3.9

I don't see any builds of Tensorflow w/ Python 3.9 in pypi or google .

Is this because TF needs to be ported to Python 3.9... or because no one bothered to build it?

IE, should I try to build TF w/ Python 3.9... or should I make a python 3.8 venv and install from pypi?

Thanks

Ran into the same issue on my system. The latest Python currently supported by Tensorflow is 3.8. You can get your tensorflow code working again by running:

dnf install python3.8

Once you have that installed, you can get pip working again by running:

python3.8 -m ensurepip --user

Also, the packages you previously installed through pip should be available at:

~/.local/lib/python3.x/site-packages/

The following release notes were helpful for me: Fedora 33 Release Notes on Python

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM