On my M2-based Mac I can install torch simply with:
pip install torch
(pip is an alias for pip3)
However, on my Xeon-based iMac I get this error:
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch
This suggests to me that there's no Intel wheel for latest version of torch (currently 2.8.0).
From something I read elsewhere I also tried:
pip install "torch==2.7.1"
...in the belief that there might be an Intel distribution for 2.7.1. Unfortunately, that leads to:
ERROR: Could not find a version that satisfies the requirement torch==2.7.1 (from versions: none)
ERROR: No matching distribution found for torch==2.7.1
How can I install torch 2.8.0 on my iMac?
UPDATE: MacOS 15.6.1, Python 3.13.7, pip 25.2
I will try building from source