I'm using Jupyter Notebook and I'm trying to import tensorflow. Here's the error I get:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-15-64156d691fe5> in <module>()
----> 1 import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'
I'm hosting the notebook by typing jupyter notebook
in my virtual environment:
(labs) Sahands-MBP:part1 sahandzarrinkoub$ jupyter notebook
tensorflow is definitely installed in the virtual environment:
(labs) Sahands-MBP:part1 sahandzarrinkoub$ python
Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 12:04:33)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
>>>
So why isn't it found? Where does jupyter look for packages? I've even installed tensorflow outside of my virtualenv.