Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6455

kernel keeps dying in jupyter notebook

$
0
0

Whenever I start jupyter notebook and create a new python 3 notebook I get an error message saying kernel has died. I have tried deleting and installing ipython, python3.6.5, and jupyter notebook but I still get the error message.

My cmd screen is as follows:-

[I 06:46:36.432 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports WARNING:root:kernel 0d0442a9-c92f-46e6-acdd-08ca0a18c5f2 restarted Traceback (most recent call last):

File "c:\users\user\appdata\local\programs\python\python36-32\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec)

File "c:\users\user\appdata\local\programs\python\python36-32\lib\runpy.py", line 85, in _run_code exec(code, run_globals)

File "c:\users\user\appdata\local\programs\python\python36-32\lib\site-packages\ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app

File "c:\users\user\appdata\local\programs\python\python36-32\lib\site-packages\ipykernel__init__.py", line 2, in from .connect import *

File "c:\users\user\appdata\local\programs\python\python36-32\lib\site-packages\ipykernel\connect.py", line 13, in from IPython.core.profiledir import ProfileDir

File "c:\users\user\appdata\local\programs\python\python36-32\lib\site-packages\IPython__init__.py", line 55, in from .terminal.embed import embed

File "c:\users\user\appdata\local\programs\python\python36-32\lib\site-packages\IPython\terminal\embed.py", line 17, in from IPython.terminal.ipapp import load_default_config

File "c:\users\user\appdata\local\programs\python\python36-32\lib\site-packages\IPython\terminal\ipapp.py", line 34, in from IPython.extensions.storemagic import StoreMagics

ModuleNotFoundError: No module named 'IPython.extensions'

[W 06:46:39.450 NotebookApp] KernelRestarter: restart failed

[W 06:46:39.450 NotebookApp] Kernel 0d0442a9-c92f-46e6-acdd-08ca0a18c5f2 died, removing from map.

ERROR:root:kernel 0d0442a9-c92f-46e6-acdd-08ca0a18c5f2 restarted failed! [W 06:46:39.461 NotebookApp] 410 DELETE /api/sessions/67987236-8755-433a-afcb-e052ccbf65b9 (::1): Kernel deleted before session

[W 06:46:39.461 NotebookApp] Kernel deleted before session

[W 06:46:39.461 NotebookApp] 410 DELETE /api/sessions/67987236-8755-433a-afcb-e052ccbf65b9 (::1) 1.00ms

referer=http://localhost:8888/notebooks/Untitled5.ipynb?kernel_name=python3## Heading ##


Viewing all articles
Browse latest Browse all 6455

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>