spyder an error ocurred while starting the kernel (How to Fix)

I started the kernel with An error ocurred while running the Keras program using Spyder every time. Finally, I checked several methods before I solved it. I’ll share it with you.
The first method:
The problem is solved by typing Spyder — Reset in the terminal and resetting the Spyder configuration.
I tried this method and found that the problem was not solved. You can try it. Maybe yours can work out.
The second way

conda update spyder ipykernel tornado pyzmq

After running a bunch of libraries, I found that my problem was still unresolved.

The above two methods are more commonly used on the Internet. But in my case the problem has not been solved. I don’t know what’s going on. Finally, I thought to myself, why didn’t this happen before?Now it does. Comparison one is that the data set has changed. I used a 0.2 scale of data set in the program to perform the validation operation. Now 20% of the data set is not an integer. And Then I changed it. The kernel crash problem found above was resolved.
Maybe I’m doing this as an example, but I’ll put it up here for you to look at.

Read More: