title: ImportError: No module named tensorflow in Spyder
body: <p>This one is a famous question but int his scenario it's different and I couldn't find a solution which satisfy my problem. However this is it. I installed Python and Anaconda and Tensorflow in my computer like Tensorflow website describes. </p>
  
  <p>And I installed it correctly and even tried example which provides by the Tensorflow website to check whether the Tensorflow working and it was succeeded. It runs in Anaconda prompt, Python prompt and python IDLE without a problem.</p>
  
  <p>But when I try a script in Spyder and runs it in python console or ipython console, it gives me following error. </p>
  
  <pre><code>runfile('C:/Users/home/.spyder-py3/temp.py', wdir='C:/Users/home/.spyder-py3')
  Traceback (most recent call last):
  
  File "&lt;ipython-input-2-4aa1bb797551&gt;", line 1, in &lt;module&gt;
  runfile('C:/Users/home/.spyder-py3/temp.py', wdir='C:/Users/home/.spyder-py3')
  
  File "C:\Users\home\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 880, in runfile
  execfile(filename, namespace)
  
  File "C:\Users\home\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
  exec(compile(f.read(), filename, 'exec'), namespace)
  
  File "C:/Users/home/.spyder-py3/temp.py", line 1, in &lt;module&gt;
  import tensorflow as tf
  
  ModuleNotFoundError: No module named 'tensorflow'
  </code></pre>
  
  <p>I don't know why is that and couldn't find a solution.</p>