Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
jupyter kernal keeps dying #1892
When opening any jupyter notebook, even one with no code in, I get the 'Dead kernal' message:
My terminal window shows the following:
It tries to restart 5 times (so some repeated code from above) then shows the following:
I've tried pip uninstalling and re-installing, also tried this with conda but no luck and can't see similar problems online. Would be extremely grateful for any help!
Can you try uninstalling all of:
And then install again. If you're doing this inside a conda env, it might be easiest to create a new environment and start from scratch. Also, if you're going to install with conda, run
I am trying to work with jupyter notebook, but when I open a file I receive the following error:
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.
In the CMD I see the following:
(base) C:\Users\Dan Eran>jupyter notebook [W 19:05:33.006 NotebookApp] Error loading server extension jupyterlab Traceback (most recent call last): File "C:\Users\Dan Eran\AppData\Roaming\Python\Python36\site-packages\notebook\notebookapp.py", line 1451, in init_server_extensions mod = importlib.import_module(modulename) File "C:\Anaconda3\lib\importlib__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 953, in _find_and_load_unlocked ModuleNotFoundError: No module named 'jupyterlab' [I 19:05:33.122 NotebookApp] Serving notebooks from local directory: C:\Users\Dan Eran [I 19:05:33.122 NotebookApp] 0 active kernels [I 19:05:33.122 NotebookApp] The Jupyter Notebook is running at: [I 19:05:33.122 NotebookApp] http://localhost:8888/?token=99a355c23c6617857e387f53d0af607ae26b89c20598336e [I 19:05:33.122 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 19:05:33.122 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
I have tried to uninstall and then reinstall the modules you've mentioned. However, I was not able to solve the problem. any ideas? THANKS!!
thankyou so much :)…
On Wed, May 30, 2018, 4:16 PM Gunjan Naik ***@***.***> wrote: Remove the ipykernl using conda remove ipykernel and then resinstall with lower version with pip install ipykernel ==4.2.2 Worked for me. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1892 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AhsClxJV9FajcyIJhQXvMsj5mSne2rXpks5t3n-qgaJpZM4KxC7D> .