title: No module named tensor flow -- iPython notebook
body: <p>I understand this may be an old question, but still I cannot find solution from off-the-shelf Q$A. Here is the problem:</p>
  
  <p>I am following <strong>Udacity</strong> "Machine Learning" and its assignments, and need use <strong><em>iPythonNotebook &amp; tensorflow</em></strong>. Details : <a href="https://github.com/Omarito2412/udacity-deeplearning" rel="nofollow noreferrer">https://github.com/Omarito2412/udacity-deeplearning</a></p>
  
  <p>Assignment2 requires tensorflow. BTW, I already <strong>installed Anaconda</strong>,
  already made <strong>tensorflow working on Pycharm</strong> on the same computer which is <strong>Macbook</strong>, but do not know how to make it work on iPythonNotebook environment. </p>
  
  <p>The codes are quite simple, as follows:</p>
  
  <pre><code>import numpy as np
  import tensorflow as tf
  from six.moves import cPickle as pickle
  from six.moves import range
  </code></pre>
  
  <hr>
  
  <h2>and the error message is as follows:</h2>
  
  <pre><code>ImportError                               Traceback (most recent call last)
  &lt;ipython-input-1-0970743dd90d&gt; in &lt;module&gt;()
        2 # before proceeding further.
        3 import numpy as np
  ----&gt; 4 import tensorflow as tf
        5 from six.moves import cPickle as pickle
        6 from six.moves import range
  
  ImportError: No module named tensorflow
  </code></pre>
  
  <p>Thanks. Any suggestions ?</p>
  
  <p>PS: I have this problem on two MacBooks, and both MacBooks run Pycharm+tensorflow well.</p>