Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The kernel appears to have died. It will restart automatically

When running:

from skimage import data

in jupyter notebook I always get the error : "The kernel appears to have died. It will restart automatically"

I use: Anaconda 4.2.0 (64-bit) Python 3.5.2 scikit-image 0.12.3 np111py35_1

When I run a notebook with python 2.7 kernel it goes fine with no error.

So I guess there is a compatibility issue? But I need to use python 3.5, any suggestion?

like image 997
finlouarn Avatar asked Mar 20 '17 19:03

finlouarn


People also ask

How do you handle a dead kernel?

You can also go to "File" > "Close and Halt" within Jupyter if you still have the notebook open on your screen. Once you've closed the other notebooks, you can restart your dead kernel by going to "Kernel" > "Restart" within Jupyter.

Why is the kernel dying in Jupyter Notebook?

Most kernel errors are often brought about by the failure of the Notebook to connect with other versions of Python. By default, there are no other virtual environments in Jupyter Notebook apart from Python 3. Press CTRL + C and create a new virtual environment using this code.

What does a dead kernel mean?

The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the notebook is reopened.

What does restart the kernel mean?

The restart command causes the Maple kernel to clear its internal memory so that Maple acts (almost) as if just started. •


1 Answers

Problem solved with: conda update mkl

working versions: mkl 2017.0.1 0
mkl-service 1.1.2 py35_2

like image 97
finlouarn Avatar answered Sep 19 '22 20:09

finlouarn