Jupyter Notebook Kernel restarting/appears to have died importing Tensorflow and keras

Hello All,

I’m trying to import TensorFlow and Keras, in my Jupyter notebook. After few seconds I get a message that Kernel is restarting and it appears to have died.

I also tried to run my pre-trained VGG16 model in visual studio code, but the visual studio code GUI turns extremely slow. It’s even difficult to move the cursor after writing a letter in VS code command prompt.

What can be the reason for that?