🌐
PyTorch
pytorch.org › get-started › locally
Get Started
Please ensure that you have met ... Note that LibTorch is only available for C++. NOTE: Latest Stable PyTorch requires Python 3.10 or later....
🌐
Reddit
reddit.com › r/pytorch › version compatibility guide
r/pytorch on Reddit: Version compatibility guide
June 18, 2024 -

Is there somewhere a searchable version compatibility database? As in all python projects reconciling versions is a pretty annoying problem, I meet it again and again.

Currently I try to use pytorch2.3.1 with cuda 11.8 , python 3.11.2 . It seems like I cannot get rid of a warning ( UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84 ).

Id guess its caused by an incorrect numpy version. Is there a place to look up what combination of torch-cuda-python-numpy is ok and which is not?

Discussions

how to find what is the latest version of python that pytorch - Stack Overflow
To tell what version of pytorch is compatible with that version of python, you look for the cpxxx in the name? More on stackoverflow.com
🌐 stackoverflow.com
Unable to install Pytorch on Python 3.13
The Python 3.13 support is tracked here and while Windows supports source builds, the PyTorch binaries do not support it yet according to the support matrix · I do find it hard to believe that so much has changed in python 3.10 to 3.13 that Pytorch no longer works ;-).-) · Nearly 2025, and ... More on discuss.pytorch.org
🌐 discuss.pytorch.org
13
0
October 25, 2024
Compatibility of Python 3.12 with (py)torch,
I’m trying to install PyTorch on Ubuntu 24 (running in the Windows Subsystem for Linux), under Python 3.12.3, but I can’t get it to work. I posted to thread 110436 “Pytorch for Python 3.12 not available”, and it was suggested I start “a new issue with more details on your environment, ... More on discuss.pytorch.org
🌐 discuss.pytorch.org
4
0
April 18, 2025
Best Python Version for PyTorch Compatibility - PyTorch Forums
Hi everyone, I’m currently working with PyTorch and wanted to know which Python version is recommended for the best compatibility and performance. I’m using Python 3.11.9 and 3.12.5, but they don’t seem to be compatible with PyTorch. I’m considering downgrading if it would provide better ... More on discuss.pytorch.org
🌐 discuss.pytorch.org
1
August 14, 2024
🌐
GitHub
github.com › pytorch › pytorch › blob › main › RELEASE.md
pytorch/RELEASE.md at main · pytorch/pytorch
Validate that all new workflows have been created in the PyTorch and domain libraries included in the release. Validate it against all dimensions of release matrix, including operating systems (Linux, macOS, Windows), Python versions as well as CPU architectures (x86 and arm) and accelerator versions (CUDA, ROCm, XPU).
Author   pytorch
🌐
PyTorch Forums
discuss.pytorch.org › t › unable-to-install-pytorch-on-python-3-13 › 212112
Unable to install Pytorch on Python 3.13 - PyTorch Forums
October 25, 2024 - The Python 3.13 support is tracked here and while Windows supports source builds, the PyTorch binaries do not support it yet according to the support matrix · I do find it hard to believe that so much has changed in python 3.10 to 3.13 that ...
🌐
GitHub
github.com › pytorch › pytorch › wiki › PyTorch-Versions
PyTorch Versions
This table contains the history of PyTorch versions, along with compatible domain libraries.
Author   pytorch
🌐
PyPI
pypi.org › project › torch
torch · PyPI
PyTorch is not a Python binding into a monolithic C++ framework. It is built to be deeply integrated into Python. You can use it naturally like you would use NumPy / SciPy / scikit-learn etc.
      » pip install torch
    
Published   Mar 23, 2026
Version   2.11.0
Find elsewhere
🌐
PyTorch Forums
discuss.pytorch.org › t › compatibility-of-python-3-12-with-py-torch › 219215
Compatibility of Python 3.12 with (py)torch, - PyTorch Forums
April 18, 2025 - I’m trying to install PyTorch on Ubuntu 24 (running in the Windows Subsystem for Linux), under Python 3.12.3, but I can’t get it to work. I posted to thread 110436 “Pytorch for Python 3.12 not available”, and it was suggested I start ...
🌐
PyTorch Forums
discuss.pytorch.org › t › best-python-version-for-pytorch-compatibility › 208038
Best Python Version for PyTorch Compatibility - PyTorch Forums
August 14, 2024 - Hi everyone, I’m currently working with PyTorch and wanted to know which Python version is recommended for the best compatibility and performance. I’m using Python 3.11.9 and 3.12.5, but they don’t seem to be compatible with PyTorch. I’m ...
🌐
GeeksforGeeks
geeksforgeeks.org › deep learning › how-to-install-pytorch-on-python-3121
How to Install PyTorch on Python 3.12.1 - GeeksforGeeks
July 23, 2025 - This process includes addressing ... solutions is to downgrade your Python version to the latest supported one, which is Python 3.11.x....
🌐
Reddit
reddit.com › r/pytorch › installed python 3.13.0 now i cannot install pytorch?
r/pytorch on Reddit: Installed Python 3.13.0 now I cannot install Pytorch?
October 19, 2024 -

ERROR: Could not find a version that satisfies the requirement torch (from versions: none)

ERROR: No matching distribution found for torch

I checked someone elses post of 2020 somewhere else and they said that will happen when your python version is too new.

There needs to be a real-time way for you guys to auto-update the compatibility for the latest version with even just a webhook.

edit: seems like 3.11 is the latest supported version?
edit2: the importance of using venv is shown to be important

🌐
Lightning AI
lightning.ai › docs › pytorch › stable › versioning.html
Versioning Policy — PyTorch Lightning 2.6.1 documentation
PyTorch Lightning follows NEP 29 which PyTorch also follows (#74203). The table below indicates the coverage of tested versions in our CI. Versions outside the ranges may unofficially work in some cases.
🌐
Reddit
reddit.com › r/pytorch › [deleted by user]
Python Versions, Anaconda, and PyTorch Woes
December 25, 2023 - Pytorch is an open source machine learning framework with a focus on neural networks. ... Familiar with this and yes, you’re stuck with python 3.10 for now. But the only problem you seem to have is getting your interpreter to use python 3.10, no? First, after you do a fresh install, install ...
🌐
GitHub
github.com › pytorch › pytorch › issues › 86566
Support Python 3.11 · Issue #86566 · pytorch/pytorch
October 10, 2022 - Currently Python 3.11 isn't fully supported in Pytorch yet, including testing in CI and publishing wheels to PyPI. Python 3.11 is currently in Release Candidate state and will be released in about two weeks.
Author   EwoutH
🌐
PyTorch Forums
discuss.pytorch.org › t › different-python-version-with-pytorch › 181822
Different python version with pytorch - PyTorch Forums
June 9, 2023 - I have both python3.6 and python3.9 installed in my machine. For some reason I need to use some package only available in python3.9 And I have torch 1.9.0 installed in python3.6 and torch.cuda.is_available() return true Now I install same torch ...
🌐
GitHub
github.com › pytorch › pytorch › releases
PyTorch 2.11.0 Release Notes
March 20, 2026 - The minimum version of Python required for PyTorch 2.9.0 is 3.10.
Author   pytorch
🌐
PyTorch Forums
discuss.pytorch.org › t › python-version-backwards-version-compatibility-thought › 204737
Python Version - Backwards Version Compatibility Thought - PyTorch Forums
June 16, 2024 - Apologize as a nube and Not sure what category this belongs under but my first exposure torch has been a burdensome one . . . Regardless as complaining is pointless on the quest to a solution. . . Blockquote Can some…