I am using anaconda 4.4.0 with Python 3.6.2. First, I pip installed Keras, it shows on pip list
and conda list
and also in environment>root>packages
in Anaconda. But when I use import keras
,in Anaconda or in Terminal, I get
Traceback (most recent call last): ... ModuleNotFoundError: No module named 'keras'
I tried installing Keras with anaconda also, and I get the same ModuleNotFoundError
.
I have also tried uninstalling it, then download the master branch from github and install using python setup.py install
. Again the package is in the lists but I cannot import it.
UPDATE:
I have uninstalled packages several times and installed using Keras package in pypi, Now I am able to import the packages in the python in terminal. But still I cannot import in jupyter notebook.
It may worth mentioning that I am working with MacOS Sierra 10.