I have setup Tensorflow and Keras on Mac OS. I also have Jupyter that came as part of my Anaconda installation.
When I try to import Tensoflow or Keras in a Jupyter notebook, I get "a no module named <...>" error.
Am I missing a step ?
Change your environments. You probably installed everything inside a tensorflow environment, but ran the notebook on the root one.
If you are a Windows/Mac user who is working on Jupyter notebook, pip install keras
doesn't help you. Instead, try the steps below:
conda install tensorflow
and after conda install keras
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.