[Solved] PIP Install torch1.7 Error: ERROR: torch has an invalid wheel, .dist-info directory not found

Error Screenshot
Solution:
Use these commands below to install CPU:
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
Use these commands below to install GPU:
pip install torch===1.7.0 torchvision===0.8.1 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html

Similar Posts: