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?
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/
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With