title: Unable to install Pytorch in Ubuntu
body: <p>I'm using the following command to install pytorch in my conda environment.</p>
  <pre><code>conda install pytorch=0.4.1 cuda90 -c pytorch
  </code></pre>
  <p>However, I'm getting the following error</p>
  <blockquote>
  <p>Solving environment: failed</p>
  <p>PackagesNotFoundError: The following packages are not available from
  current channels:</p>
  <ul>
  <li>pytorch=0.4.1</li>
  <li>cuda90</li>
  </ul>
  <p>Current channels:</p>
  <ul>
  <li><a href="https://conda.anaconda.org/pytorch/linux-32" rel="nofollow noreferrer">https://conda.anaconda.org/pytorch/linux-32</a></li>
  <li><a href="https://conda.anaconda.org/pytorch/noarch" rel="nofollow noreferrer">https://conda.anaconda.org/pytorch/noarch</a></li>
  <li><a href="https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-32" rel="nofollow noreferrer">https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-32</a></li>
  <li><a href="https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch" rel="nofollow noreferrer">https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch</a></li>
  <li><a href="https://repo.anaconda.com/pkgs/main/linux-32" rel="nofollow noreferrer">https://repo.anaconda.com/pkgs/main/linux-32</a></li>
  <li><a href="https://repo.anaconda.com/pkgs/main/noarch" rel="nofollow noreferrer">https://repo.anaconda.com/pkgs/main/noarch</a></li>
  <li><a href="https://repo.anaconda.com/pkgs/free/linux-32" rel="nofollow noreferrer">https://repo.anaconda.com/pkgs/free/linux-32</a></li>
  </ul>
  </blockquote>
  <blockquote>
  <p>To search for alternate channels that may provide the conda package
  you're looking for, navigate to</p>
  <pre><code>https://anaconda.org
  </code></pre>
  </blockquote>
  <p>How can I sort this out?
  I have ofcourse installed cuda 9 and nvcc works.</p>