Error installing with Python 3.8 and CUDA 11.5

sohani: <p>I am trying to install PyTorch with Python 3.8 and CUDA 11.5 and I am getting following error for torchaudio.</p>
<p>ERROR: Could not find a version that satisfies the requirement torchaudio===0.10.0+cu113 (from versions: 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0)<br>
ERROR: No matching distribution found for torchaudio===0.10.0+cu113</p>

ptrblck: <p>The PyTorch binaries are not build with CUDA11.5 and you can pick the 10.2 or 11.3 CUDA runtimes.</p>
<p>Using this install command works for me:</p>
<pre><code class="lang-auto">pip install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio==0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Looking in links: https://download.pytorch.org/whl/cu113/torch_stable.html
Collecting torch==1.10.0+cu113
  Downloading https://download.pytorch.org/whl/cu113/torch-1.10.0%2Bcu113-cp38-cp38-linux_x86_64.whl (1821.4 MB)
     |████████████████████████████████| 1821.4 MB 20.9 MB/s            
Collecting torchvision==0.11.1+cu113
  Downloading https://download.pytorch.org/whl/cu113/torchvision-0.11.1%2Bcu113-cp38-cp38-linux_x86_64.whl (21.8 MB)
     |████████████████████████████████| 21.8 MB 19.2 MB/s            
Collecting torchaudio==0.10.0+cu113
  Downloading https://download.pytorch.org/whl/cu113/torchaudio-0.10.0%2Bcu113-cp38-cp38-linux_x86_64.whl (2.9 MB)
     |████████████████████████████████| 2.9 MB 9.0 MB/s            
Collecting typing-extensions
  Downloading typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting pillow!=8.3.0,&gt;=5.3.0
  Downloading Pillow-8.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
     |████████████████████████████████| 3.1 MB 6.6 MB/s            
Collecting numpy
  Downloading numpy-1.21.3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
     |████████████████████████████████| 15.7 MB 80.8 MB/s            
Installing collected packages: typing-extensions, torch, pillow, numpy, torchvision, torchaudio
Successfully installed numpy-1.21.3 pillow-8.4.0 torch-1.10.0+cu113 torchaudio-0.10.0+cu113 torchvision-0.11.1+cu113 typing-extensions-3.10.0.2
</code></pre>

sohani: <p>I am trying to install CUDA 11.3 runtime as the error shows. Also, I am trying to install on Windows 10.</p>
<p>Here is my install command:<br>
pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio===0.10.0+cu113 -f <a href="https://download.pytorch.org/whl/cu113/torch_stable.html" rel="noopener nofollow ugc">https://download.pytorch.org/whl/cu113/torch_stable.html</a></p>

Roy_Richard_Flores_G: <p>Same here, my specs</p>
<p>CPU: Intel 10700k<br>
GPU: RTX 3060tI</p>
<p>using this command:<br>
pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio===0.10.0+cu113 -f <a href="https://download.pytorch.org/whl/cu113/torch_stable.html" rel="noopener nofollow ugc">https://download.pytorch.org/whl/cu113/torch_stable.html</a></p>
<p>i get</p>
<p>ERROR: Could not find a version that satisfies the requirement torchaudio===0.10.0+cu113 (from versions: 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0)<br>
ERROR: No matching distribution found for torchaudio===0.10.0+cu113</p>

ptrblck: <p>The issue for the Windows binaries is tracked <a href="https://github.com/pytorch/pytorch/issues/67089">here</a>.<br>
As a workaround you could try to manually download the <code>torchaudio</code> wheels and install them locally.</p>

Roy_Richard_Flores_G: <p>Thanks for your response, i ran the Preview (Nightly) and got it installed not problem.</p>