Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot install PyTorch with Python 3.11 (Windows)

I recently upgraded to Python 3.11 and proceeded to install the libraries I typically use for 3.11. I went through my list one by one with pip.

When I tried to install PyTorch, I got an error which says:

ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch

None of the suggestions I could find on pytorch.com resolved the issue.

What went wrong, and what do I need to do in order to install PyTorch properly?

like image 996
El-One Avatar asked Nov 17 '25 12:11

El-One


2 Answers

As of now, PyTorch only provides a Linux build with python 3.11 You can check all available wheels here.

https://download.pytorch.org/whl/torch/

like image 200
Atif Ali Avatar answered Nov 19 '25 01:11

Atif Ali


I saw this issue on github: https://github.com/pytorch/pytorch/issues/86566 it looks like PyTorch doesn't support 3.11 yet. Apparently there's a nightly build that you can try to use, I haven't tested it though.

like image 30
SadCactus Avatar answered Nov 19 '25 02:11

SadCactus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!