title: Unable to get cuda available in Jupyter Notebook or Spyder for PyTorch
body: <p>I've installed pytorch cuda with pip and conda</p>
  
  <p>when i run this command in IDLE:</p>
  
  <pre><code>&gt;&gt; import torch
  
  &gt;&gt; torch.cuda.is_available()
  </code></pre>
  
  <p>I get "True",
  but in Spyder or Jupyter Notebook it gives as "False" even after updating the package and conda.
  The conda update of pytorch cuda was from 10.1 to 10.2</p>