I have this import statement in Keras:
from keras.optimizers import SGD, RMSprop
ImportError: No module named keras.optimizers
Most obvious answer would be: You do not have
keras installed. Do you? Maybe try
pip install keras or
pip freeze to check? Or if you are on Linux, you can also try
Can you provide us with additional information?