[Python] How can I install torch and torchvision with pip and python 3.8.3 on windows in an...

Discussão em 'Python' iniciado por Stack, Agosto 25, 2025.

  1. Stack

    Stack Membro Participativo

    I created a virtual environment for my project and I'm trying to install torch via pip.

    pip install torch===1.5.1 torchvision===0.6.1 -f https://download.pytorch.org/whl/torch_stable.html


    This gives me the error -

    ERROR: Could not find a version that satisfies the requirement torch===1.5.1 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
    ERROR: No matching distribution found for torch===1.5.1


    Some solutions recommend the use of conda, is it necessary? Can I not do it through just pip

    Continue reading...

Compartilhe esta Página