2

I know this question has been asked before but I have not been able to fix the issue with the responses, hence posting this one.

I get this error :

ModuleNotFoundError: No module named 'keras'

when I import keras.

1) I created a new env ( python 3.5 ) and insatlled tensorflow,theano and keras.

2) I can see the package Keras when I list the packages in this env

3) I tried uninstalling and then install Keras back ( using pip3 as well , as suggested in another forum)

4) I can see keras folder under /site-packages

Not sure what I should be doing to get it to work. TIA.

Indi
  • 1,401
  • 13
  • 30

1 Answers1

0

I ran into this issue on a windows laptop. the other answer didn't help me... here's what I did to get it working:

first I had to stop using cygwin. the various commands are a bit wonky unless you are using cmd.exe.

second, I read this article and follow the instructions to essentially install Jupyter within the env I wanted it to play with.

https://www.quora.com/How-can-I-work-with-Keras-on-a-Jupyter-notebook-using-Tensorflow-as-backend

hopefully this will help someone!

Joe Albowicz
  • 270
  • 3
  • 4