Repeated "Kernel died, restarting" forever

Evgeni Sergeev picture Evgeni Sergeev · Sep 23, 2016 · Viewed 67.2k times · Source

When I attempt to run

$ jupyter qtconsole

The console shows up, with the message

Kernel died, restarting
________________________
Kernel died, restarting
________________________
Kernel died, restarting
________________________
Kernel died, restarting
________________________
Kernel died, restarting
________________________

Which continues.

Trying $ jupyter qtconsole --debug didn't print anything else, and neither has adding

c.Application.log_level = 0
c.Session.debug = True

into $USERHOME/.jupyter/jupyter_qtconsole_config.py

Also, I found nothing in $USERHOME/.ipython/profile_default/log/ and the other directories around there.

Nothing has changed in my configuration since last time I started up jupyter-qtconsole.

How can I at least find out what's going wrong with the kernel? Surely there is some option in Jupyter to get the kernel's STDERR output to see what exception had upset it?

Answer

ketankk picture ketankk · May 28, 2018

Run this-

conda remove ipykernel ipython jupyter_client jupyter_core traitlets ipython_genutils

conda clean -tipsy

conda install ipykernel ipython jupyter_client jupyter_core traitlets ipython_genutils

jupyter notebook