question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It seems the kernel died unexpectedly. Use 'Restart kernel' to continue using this console.

See original GitHub issue

Description of your problem

Hi! I am quite new to Python. I have a code of a few hundred lines. The execution time is roughly 15 minutes. Often the code is working just fine and I can run the script without the kernel crashing, but sometimes I get the message: ‘It seems the kernel died unexpectedly. Use ‘Restart kernel’ to continue using this console.’ When this happens feels very random: sometimes after it happens I restart spyder, run the exact code again, and it works just fine.

What steps will reproduce the problem?

  1. I haven’t found anything that reproduces the problem at all times.

What is the expected output? What do you see instead? It seems the kernel died unexpectedly. Use ‘Restart kernel’ to continue using this console. It seems the kernel died unexpectedly. Use ‘Restart kernel’ to continue using this console. It seems the kernel died unexpectedly. Use ‘Restart kernel’ to continue using this console. It seems the kernel died unexpectedly. Use ‘Restart kernel’ to continue using this console. It seems the kernel died unexpectedly. Use ‘Restart kernel’ to continue using this console. It seems the kernel died unexpectedly. Use ‘Restart kernel’ to continue using this console. It seems the kernel died unexpectedly. Use ‘Restart kernel’ to continue using this console.

Please provide any additional information below Sorry for the vague problem, but I have no idea where to look for the cause of the problem, since it seems to happen at a random time. Installed everything using Anaconda (4.1.1), also some additional packages.

Versions and main components

  • Spyder Version: 2.3.9
  • Python Version: 3.5.2
  • Operating system: Windows 10 Enterprise

Dependencies

Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard and paste the contents below:

IPython >=1.0 : 4.2.0 (OK) jedi >=0.8.1;<0.9.0: 0.9.0 (NOK) matplotlib >=1.0 : 1.5.1 (OK) pandas >=0.13.1 : 0.18.1 (OK) pep8 >=0.6 : 1.7.0 (OK) pyflakes >=0.6.0 : 1.2.3 (OK) pygments >=1.6 : 2.1.3 (OK) pylint >=0.25 : None (NOK) qtconsole >=4.0 : 4.2.1 (OK) rope >=0.9.2 : 0.9.4-1 (OK) sphinx >=0.6.6 : 1.3.1 (OK) sympy >=0.7.3 : 1.0 (OK) zmq >=2.1.11 : 15.2.0 (OK)

Thanks for the help!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Sep 20, 2016

We try to fix this for Spyder 3.0, i.e. to make our IPython consoles more stable.

We’re about to release this new version, so please comment here again when you test your code against that version 😃

0reactions
dmitrenkoivancommented, Dec 12, 2016

It was helpfull for me

conda install nomkl numpy scipy scikit-learn numexpr
conda remove mkl mkl-service
Read more comments on GitHub >

github_iconTop Results From Across the Web

IPython - It seems the kernel died unexpectedly. Use 'Restart ...
Upon starting the IPython console repeatedly prints that the Kernel has died. What steps will reproduce the problem?
Read more >
[spyder] It seems the kernel died unexpectedly. Use 'Restart ...
visualisation i receive an error such as :It seems the kernel died unexpectedly. Use 'Restart kernel' to continue using this console.
Read more >
It seems the kernel died unexpectedly. Use 'Restart kernel' to ...
The error message given within the ipython console is: "It seems the kernel died unexpectedly. Use 'Restart kernel' to continue using this ......
Read more >
kernel died unexpectedly - Google Groups
It seems the kernel died unexpectedly. Use 'Restart kernel' to continue using this console. Then Windows makes me end the task and that...
Read more >
The kernel appears to have died | Data Science and ... - Kaggle
It will restart automatically". I am not quite sure what happened. Any thoughts of what can i do now to fix that? Thanks,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found