ERROR: torch has an invalid wheel, .dist-info directory not found

created at 08-25-2021 views: 7

Solution

Install the cpu version, use the following command:

pip install torch==1.7.0+cpu torchvision==0.8.1+cpu torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html

To install the Gpu version, use the following command:

pip install torch===1.7.0 torchvision===0.8.1 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
created at:08-25-2021
edited at: 08-25-2021: