what is the most recent version of python that supports tensorflow or pytorch?
Seems to be 3.12 in both cases. The place to find the latest answer is PyPI.
Or on the project websites, where you may be able to answer the follow-up question “and how long will I have to wait”. There may be a more complicated answer if GPU support is essential.
1 Like
Related, this project of mine: GitHub - hauntsaninja/python_readiness: Are your dependencies ready for new Python?
λ uvx python_readiness -p tensorflow -p torch --python 3.13
torch>=2.5.0 # has_classifier_and_explicit_wheel
tensorflow # unsupported
λ uvx python_readiness -p tensorflow -p torch --python 3.12
tensorflow>=2.16.1 # has_classifier_and_explicit_wheel
torch>=2.2.0 # has_classifier_and_explicit_wheel
2 Likes