You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information
TensorFlow version (you are using): 2.3.1
Are you willing to contribute it (Yes/No): No (willing to do trivial patches)
Describe the feature and the current behavior/state.
TensorFlow should be supported on Python 3.9.
Will this change the current api? How? Significant changes will likely need to be made.
Who will benefit with this feature?
Anyone on Python 3.9
Any Other info.
Reacted by Sam Courtemanche, Zhiwei Liang, TÖRÖK Attila, Alpha BAO, JC Louis, Shad Sharma, Olivier Chédru, vivintsmartvideo, Jongwook Choi, Monireh2 and 135 more
Reacted by Thorsten Sommer, Chris Rahmé, Bobby Chen, Shamoji, Christian Clauss, Max Sysoev, Unknown6656 and Paolo Ranzi
Ensure all of our dependencies support python3.9 (not yet there)
Ensure our code works with all these dependencies on all supported versions of python (at the moment, at least gast needs additional support work).
Release nightly version supporting the new python version
Release a full release.
As we are already doing the 2.4 release, python3.9 support for TF will come in 2.5 release at the earliest.
@ravikyram, @amahendrakar, @rmothukuru let's deduplicate to this issue all py39 requests/issues. I'll monitor this one and provide updates as we start adding support.
Reacted by Abhilash Mahendrakar, kbrowder, Amit Patankar, rmothukuru, Jeff Rouse, Qinyao He, Phil, Zain Raza, Bobby Chen and Jonas Braadbaart
Reacted by Kevin, Abhijit Leihaorambam, Bobby Chen and Paolo Ranzi
Reacted by Kaan Berke UGURLAR, Bobby Chen, Anatoly Burov, Abdulkader, 박인성 (InSung Bahk) and Shai Kadish
The main issue is that we also have C++ code and we need the needed dependencies to also upgrade for their C++ code. By this time, likely most are solved, so 2.5 release will have py3.9 support.
The largest part of the ramp up is because of upstream dependencies. TF cannot build until they can build with the new version of Python. In particular, numpy, protobuf, grpc are the main delayers.
@ShyamSundhar1411 this looks like a different issue. Make sure you use the same python as the one used to do pip install. Recommendation is to use python -m pip install instead of pip install.
If the above does not fix, please open a new issue and fill in issue template and give a full description of the error you are seeing. Also, give output of both python -m pip install
Activity
mihaimaruseac commentedon Nov 2, 2020
We have not released anything for python3.9.
Release process is as follows:
gastneeds additional support work).As we are already doing the 2.4 release, python3.9 support for TF will come in 2.5 release at the earliest.
@ravikyram, @amahendrakar, @rmothukuru let's deduplicate to this issue all py39 requests/issues. I'll monitor this one and provide updates as we start adding support.
Python 3.9 support will come in 2.5 release at the earliest
Python 3.9 support will come in 2.5 release at the earliest
Introduce a sieve for filtering out incompatible TensorFlow for Py3.9 (…
rmothukuru commentedon Nov 17, 2020
@mihaimaruseac,
Sure
mihaimaruseac commentedon Nov 18, 2020
(from #40840 (comment))
The main issue is that we also have C++ code and we need the needed dependencies to also upgrade for their C++ code. By this time, likely most are solved, so 2.5 release will have py3.9 support.
We should get py3.9 in nightly soon.
79 remaining items
mihaimaruseac commentedon Mar 11, 2021
The largest part of the ramp up is because of upstream dependencies. TF cannot build until they can build with the new version of Python. In particular, numpy, protobuf, grpc are the main delayers.
ShyamSundhar1411 commentedon Mar 14, 2021
But tf nightly is not getting imported . I am getting ModuleNotFoundError
mihaimaruseac commentedon Mar 15, 2021
@ShyamSundhar1411 this looks like a different issue. Make sure you use the same python as the one used to do
pip install. Recommendation is to usepython -m pip installinstead ofpip install.If the above does not fix, please open a new issue and fill in issue template and give a full description of the error you are seeing. Also, give output of both
python -m pip installcclauss commentedon Mar 15, 2021
Explicit is better than implicit...
python3.9 -m pip install xyzstaticdev commentedon Apr 6, 2021
@mihaimaruseac this is marked for TF 2.5 but there is no mention of it on the current release notes.
mihaimaruseac commentedon Apr 11, 2021
RC0 files already contain Py3.9 wheels.
We'll update the release notes, it seems we don't always mention support for new versions of Python in there.
cclauss commentedon May 17, 2021
I think this is fixed now.
Nizarazo commentedon May 25, 2021
Is Keras module that exists in tensorflow supported in python 3.9?
felixdivo commentedon May 26, 2021
@mihaimaruseac Seems like this issue can be closed.
google-ml-butler commentedon Jun 8, 2021
Are you satisfied with the resolution of your issue?
Yes
No
removing python version < 3.9 requirement
removing python version < 3.9 requirement (#481)