Import error on RMSprop

My code works well in the grader. When I submit it, I get the following error:
There was a problem compiling the code from your notebook. Details:
cannot import name ‘RMSprop’ from ‘keras.optimizers’ (/opt/conda/lib/python3.7/site-packages/keras/optimizers.py)

Any help appreciated?

Try: from tensorflow.keras.optimizers import RMSprop