I am using jupyter notebook, ipython 3 on windows. Whenever i am starting my python 3, i get the "Kernel Dead" message -


dead kernel kernel has died, , automatic restart has failed. possible kernel cannot restarted. if not able restart kernel, still able save notebook, running code no longer work until notebook reopened.

the above message shown in notebook dashboard after start python3.

[i 23:07:08.365 notebookapp] kernelrestarter: restarting kernel (4/5) warning:root:kernel 9938cea3-6528-4a27-b4c3-ee906d748bfb restarted traceback (most recent call last):   file "c:\users\dharini\appdata\local\programs\python\python35-32\lib\runpy.py" , line 170, in _run_module_as_main     "__main__", mod_spec)   file "c:\users\dharini\appdata\local\programs\python\python35-32\lib\runpy.py" , line 85, in _run_code     exec(code, run_globals)   file "c:\users\dharini\appdata\local\programs\python\python35-32\lib\site-pack ages\ipykernel\__main__.py", line 3, in <module>     app.launch_new_instance()   file "c:\users\dharini\appdata\local\programs\python\python35-32\lib\site-pack ages\traitlets\config\application.py", line 588, in launch_instance     app.initialize(argv)   file "<decorator-gen-123>", line 2, in initialize   file "c:\users\dharini\appdata\local\programs\python\python35-32\lib\site-pack ages\traitlets\config\application.py", line 74, in catch_config_error     return method(app, *args, **kwargs)   file "c:\users\dharini\appdata\local\programs\python\python35-32\lib\site-pack ages\ipykernel\kernelapp.py", line 417, in initialize     self.init_io()   file "c:\users\dharini\appdata\local\programs\python\python35-32\lib\site-pack ages\ipykernel\kernelapp.py", line 316, in init_io     self.patch_io()   file "c:\users\dharini\appdata\local\programs\python\python35-32\lib\site-pack ages\ipykernel\kernelapp.py", line 326, in patch_io     faulthandler_register = faulthandler.register attributeerror: module 'faulthandler' has no attribute 'register' [w 23:07:11.369 notebookapp] kernelrestarter: restart failed [w 23:07:11.369 notebookapp] kernel 9938cea3-6528-4a27-b4c3-ee906d748bfb died, r emoving map. error:root:kernel 9938cea3-6528-4a27-b4c3-ee906d748bfb restarted failed! [w 23:07:11.390 notebookapp] kernel deleted before session [w 23:07:11.392 notebookapp] 410 delete /api/sessions/1cca4919-305f-4b4f-acdd-b2 a614fd2638 (::1) 3.00ms referer=http://localhost:8888/notebooks/untitled.ipynb?k ernel_name=python3 

in command prompt above shown message. problem in faulthandler module. how should rectify it? installed jupyter notebook using "pip". new python programming , jupyter. please me resolve this.

we accidentally made release of ipykernel package doesn't work on python 3.5 on windows. once realised this, made new release (version 4.3.1) fix it.

you can upgrade running:

pip install --upgrade ipykernel 

if had installed ipykernel using conda, command be:

conda update ipykernel 

Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -