Problems installing Pytorch 2.0.1

Hello,

I am trying to install Pytorch 2.0.1 using pip via:

pip install torch

I am using Python 3.9.6 (64-bit version) on Windows 10.
The command should install the newest Pytorch version 2.0.1.

Nethertheless I am getting the following error message:

No matching distribution found for torch

Can anyone help?

I see a matching distribution for what I think is your setup? https://files.pythonhosted.org/packages/48/f4/d0b61525a3d3db78636f1937d1bc24cbb39abc57484a545b72b6ab35c114/torch-2.0.1-cp39-cp39-win_amd64.whl

Maybe try upgrading pip or use python3 -m pip install torch ?

pip install torch is not a valid install command for Windows and torch==2.0.1.
From the install matrix I see:

  • pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 for CUDA 11.7
  • and pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 for CUDA 11.8