1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] How to install torch on MacOS (Intel)

Discussão em 'Python' iniciado por Stack, Setembro 11, 2025.

  1. Stack

    Stack Membro Participativo

    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?

    Continue reading...

Compartilhe esta Página