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.

Jupyter Notebook Kernel fails to start kernel in Python 3.6

See original GitHub issue

Hello,

Note: I’m working with SSH connection to a remote server; therefore, probably part of the problem is that the connection is not stable as with local work. However, in the previous version of the Jupyter, I did not have those issues.

I updated the visual code to the newest version (the update added a new appearance to the Jupyter notebook and some new features). However, since the update, I have struggled to run the cells. The response of the cell run is not good, and it takes time for it to really run (sometimes it even doesn’t work). In addition, when I stop a cell execution using Keyboard Interrupt, I get an error saying that the code stopped due to Keyboard Interrupt; however, the cell is still executing, and even the time of execution (new feature) is still counting. Even when I try to reset the kernel, it is not responding either (something which always works in the old versions).

To conclude, I can’t explain the issue exactly; however, something has happened since the last update. The Jupyter notebook is not stable as it was before. Therefore, working with SSH conception became almost impossible for me.

Thank you, Ofir

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
jeremykawaharacommented, Jul 26, 2021

Have the same overall issue (high lag especially during any sort of IntelliSense/code completion task) starting last night after doing an update. I tried uninstalling/reinstalling the Jupyter extension and different versions of python, but the issue remained.

The workaround I found is to use the old Notebook Editor.

To use the old Notebook Editor, right click the .ipynb notebook, select Open With ..., and choose Jupyter Notebook (custom)

image

Of note, this Notebook lag seems to be only really noticeable when working on larger projects with multiple notebooks/files. When I start VSCode to only see an empty folder, the new Notebook Editor seems to work fine.

0reactions
rchiodocommented, Jul 30, 2021

Otherwise I’m able to run a cell just fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter Notebook Kernel fails to start kernel in Python 3.6 #6738
Hello, Note: I'm working with SSH connection to a remote server; therefore, probably part of the problem is that the connection is not ......
Read more >
How to Fix Kernel Error in Jupyter Notebook
A kernel error occurs basically when you try opening a python 3 file in the wrong directory. The truth is Jupyter and Python...
Read more >
Failed to start the kernel on jupyter notebook - Stack Overflow
Open the kernel.json file in this directory and specify the path of python you want the kernel to use in the argv key....
Read more >
Failed to start the kernel on jupyter notebook - Intellipaat
1 Answer ... The below command will show you the available kernel. ... Now the kernel.json file in the above directory and provide...
Read more >
Workaround?: Python 3.6 support dropped but crucial for ...
I don't have any immediate ideas as to why the Python 3.6 kernel does not start for you. If you could check the...
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