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.

Failed to start the Kernel due to corrupted/partial installation of the extension

See original GitHub issue

Hello everyone,

I have been founding some issues in running a jupyter notebook code in vscode, since I downloaded the last vscode version.

  • I have installed python 3.9.7
  • pip install jupyter
  • pip install ipykernel
  • I have the jupyter extension in visual studio.

Is there anyone can help me? Thank you so much.

Environment data

  • VS Code version: May 2022 (version 1.68)
  • Jupyter Extension version: v2022.5.1001601848
  • Windows 10
  • Python 3.9.7
  • Jupyter server running: Local

Behaviour

I run “import numpy as np” and this generates an error message: Failed to start the Kernel. Failed to start the Kernel ‘base (Python 3.9.7 64-bit)’. View Jupyter log for further details. Cannot read properties of undefined (reading ‘makeSettings’)

Click on “log”:

Visual Studio Code (1.68.1, undefined, desktop) Jupyter Extension Version: 2022.5.1001601848. Python Extension Version: 2022.8.0. Workspace folder c:\Users\Elisa\Desktop\nn_loaddata info 18:6:51.878: ZMQ install verified. User belongs to experiment group ‘jupyterTestcf’ User belongs to experiment group ‘jupyterEnhancedDataViewer’ info 18:6:52.659: LSP Notebooks experiment is disabled – not in treatment group info 18:6:54.50: Starting Jupyter Session id = 'startUsingPythonInterpreter:. … FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ if you require traitlets >=5. warn( … FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘49125cc5-3a6e-46af-a935-1adfb98431bd’ instead of ‘b"49125cc5-3a6e-46af-a935-1adfb98431bd"’. warn( … error 18:7:9.636: Failed to connect raw kernel session: TypeError: Cannot read properties of undefined (reading ‘makeSettings’) warn 18:7:9.643: Error occurred while trying to start the kernel, options.disableUI=true [r [Error]: … info 18:7:9.711: Kernel Output: NOTE: When using the ipython kernel entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending “quit” from a client, or using Ctrl-\ in UNIX-like environments.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:33 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
shortoriancommented, Jul 19, 2022

ah, no, I didn’t read the OP correctly. I’ll open a new issue

0reactions
DonJayamannecommented, Oct 16, 2022

Closing this issue as its been over 4 weeks, since the information was requested. We’ll be happy to reopen the issue when the requested information has been provided.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to start the Kernel - Jupyter in VS Code - Stack Overflow
I got the same error message because the jupyter package was missing in my selected environment. pip install jupyter.
Read more >
How to fix Kernel Error or broken Python in Jupyter Notebook
TL;DW BELOW! If you delete or upgrade your python version, you might get a Kernel Error when trying to use Jupyter Notebooks!
Read more >
What to do when things go wrong - The Jupyter Notebook
General kernel startup failures exhibited by nothing happening when attempting to execute a cell. In these situations, take a close look at your...
Read more >
How to Fix Kernel Error in Jupyter Notebook
So to get to the back-end, open the Anaconda command prompt. Since you have Anaconda already installed in your system, click the search...
Read more >
Can't restart kernel in VSCode jupyter notebook - VS Code
Command 'Julia: Restart kernel' resulted in an error (Running the contributed ... Don't install anything apart from the Julia extension for VS Code...
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