Kernel restarting again and again

Whenever I run ‘from keras.preprocessing import image’
My kernel dies and I have to restart it again and again
Please help

hey @udayjain00 ,
there is some problem in keras installation.
try reinstalling.

can please tell how to delete the previous keras installation
Currently I am using anaconda

hey @udayjain00 ,
simply do ,
pip uninstall keras ,
and let me know what tensorflow version are you working on

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.