I understand that this may be an old question, but still I can not find a solution from the finished Q $ A. Here is the problem:
I follow Udacity "Machine Learning" and its assignments, and you need to use iPythonNotebook and tensorflow . Details: https://github.com/Omarito2412/udacity-deeplearning
Assignment2 requires a tensor flow. BTW, I already installed Anaconda , already made tensorflow running on Pycharm on the same computer, which is a Macbook , but does not know how to make it work in the iPythonNotebook environment.
The codes are pretty simple:
import numpy as np import tensorflow as tf from six.moves import cPickle as pickle from six.moves import range
and the error message is as follows:
ImportError Traceback (most recent call last) <ipython-input-1-0970743dd90d> in <module>() 2 # before proceeding further. 3 import numpy as np ----> 4 import tensorflow as tf 5 from six.moves import cPickle as pickle 6 from six.moves import range ImportError: No module named tensorflow
Thanks. Any suggestions?
PS: I have this problem on two MacBooks, and both MacBooks work well with the Pycharm + tensor.
source share