Unable to install PyTorch 1.0.0 in Anaconda environment

erotavlas: <p>I just installed the latest Anaconda on my Win 10 x64 machine.  Then created a new environment with python 3.5.5.  I proceed to install pytorch using the commands listed on the pytorch website</p>
<p>conda install pytorch-cpu torchvision-cpu -c pytorch</p>
<p>But I keep getting the following error that the packages are not found in the current channels.</p>
<p><div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/2X/1/1280a23d03285efa42ec3812ba057ef26f69a665.png" data-download-href="https://discuss.pytorch.org/uploads/default/1280a23d03285efa42ec3812ba057ef26f69a665" title="Untitled"><img src="https://discuss.pytorch.org/uploads/default/original/2X/1/1280a23d03285efa42ec3812ba057ef26f69a665.png" alt="Untitled" data-base62-sha1="2DGbQaQsdOEX5mDluEjXS9FPrBH" width="690" height="487" data-dominant-color="101010"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Untitled</span><span class="informations">942×665 23.6 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>
<p>How do I solve this?</p>

ptrblck: <p>Could you try to run</p>
<pre><code class="lang-auto">conda update -n base conda
</code></pre>
<p>and try it again?</p>

erotavlas: <p>Hello thanks for the reply, I tried that already before posting.  (just to be sure I did it again but it says All requested packages already installed) And then I tried the above command to install pytorch but I get the same result as above.</p>
<p>I also tried from the anaconda navigator, although its able to find the package, when I select it and then click the apply button, it gives the same error.</p>
<p><div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/2X/6/602b3437e46512f45c2c94d9ff3a56088adb06fd.png" data-download-href="https://discuss.pytorch.org/uploads/default/602b3437e46512f45c2c94d9ff3a56088adb06fd" title="Capture"><img src="https://discuss.pytorch.org/uploads/default/original/2X/6/602b3437e46512f45c2c94d9ff3a56088adb06fd.png" alt="Capture" data-base62-sha1="dIKoSrc2exi7b599YB6MrONgCT3" width="690" height="367" data-dominant-color="F2F1F2"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Capture</span><span class="informations">1049×558 20.1 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>

erotavlas: <p>I was able to install it with the above command in the (base) environment. Not sure why it worked there and not in the new environment I created. Maybe it required a dependency that wasn’t in the new environment?</p>

Debanshi: <p>hi, I am having the same problem with pytorch installation. Can you please help me out?</p>

erotavlas: <p>I’m not sure, I’ve been installing pytorch multiple times in conda with no problem anymore.  What problem are you having? And how are you doing it?</p>
<p>Did you use the command on the Getting started page of pytorch? <a href="https://pytorch.org/get-started/locally/" rel="nofollow noopener">https://pytorch.org/get-started/locally/</a></p>

Debanshi: <p>yes i did but it was showing package not found</p>