QBoard » Artificial Intelligence & ML » AI and ML - PyTorch » PyTorch not downloading

PyTorch not downloading

  • I go to the PyTorch website and select the following options

    PyTorch Build: Stable (1.2)

    Your OS: Windows

    Package: pip

    Language: Python 3.7

    CUDA: None

    (All of these are correct)

    Than it displays a command to run

    pip3 install torch==1.2.0+cpu torchvision==0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html

    I have already tried to mix around the the different options but none of them has worked.


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

    I tried to do pip install pytorch but pytorch doesn't support pypi

      January 5, 2022 2:35 PM IST
    0
  • I had the same issue, and what I noticed is that I was using Python 3.8.1 and the latest PyTorch was for Python 3.7.

    I uninstalled Python 3.8.1 and installed 3.7.6 and voila, it worked!

    Not sure if this is your case, but it helped me.

      February 11, 2022 12:23 PM IST
    0
  • I've been in same situation. My prob was, the python version... I mean, in the 'bit' way.

    It was 32 bit that the python I'd installed. You should check which bit of python you installed. you can check in the app in setting, search python, then you will see the which bit you've installed.

    After I installed the 64 bit of Python, it solved.

    I hope you figure it out!

    environment : win 10

      January 8, 2022 2:32 PM IST
    0