title: ModuleNotFoundError: No module named 'torch'
body: <p>I try to use pytorch module by conda but I get an error</p>
  
  <pre><code>Traceback (most recent call last):
  File "train.py", line 8, in &lt;module&gt;
  import torch
  ModuleNotFoundError: No module named 'torch'
  </code></pre>
  
  <p>when I write <code>conda list | findstr torch</code> I see that torch is installed:</p>
  
  <p><a href="https://i.stack.imgur.com/Tl7Zu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tl7Zu.png" alt="enter image description here"></a>
  What is the problem?</p>
  
  <p>I tried:</p>
  
  <pre><code>conda update conda -n root
  conda install mkl=2018
  </code></pre>
  
  <p>but get:</p>
  
  <pre><code>Collecting package metadata (current_repodata.json): done
  Solving environment: done
  
  # All requested packages already installed.
  
  Could Not Find C:\WINDOWS\TEMP\conda-23721-26470.tmp
  Could Not Find C:\WINDOWS\TEMP\tmpry_dlvar.bat
  </code></pre>
  
  <p>and the same error occurrence</p>