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.

Cannot run jupyter kernel using python extension

See original GitHub issue

I upgraded to the latest code-server today and now the jupyter interactive functionality of the python extension has stopped working. This happens both when I did this using a remote linux machine (docker based on the pytorch 1.9 image), AND when installing code-server on my local macbook. When opening a jupyter notebook a popup with the following information appears:

Command 'Jupyter: Create New Blank Notebook' resulted in an error (command 'jupyter.createnewnotebook' not found)

OS/Web Information

  • Web Browser: brave
  • Local OS: macOs
  • Remote OS: macos
  • Remote Architecture:
  • code-server --version: 3.11.0 4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd

Steps to Reproduce

On macos (m1):

  1. install code-server using install script

  2. install python extension (ms-python.python v2021.7.1060902895). This will also install a jupyter extension (ms-toolsai.jupyter v2021.6.832593372) image

  3. Try to open a new jupyter notebook (cmd+shift+p “Jupyter: Create new Blank Notebook”) image image

The developer console has this error (which is too far in the deep for me to understand): image

Expected

A jupyter notebook starts up

Actual

Error message Command 'Jupyter: Create New Blank Notebook' resulted in an error (command 'jupyter.createnewnotebook' not found)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:9
  • Comments:43 (22 by maintainers)

github_iconTop GitHub Comments

9reactions
edvincentcommented, Sep 20, 2021

Here’s a matrix table with links for those who want it working. The bottomline being: you can’t use marketplace from code-server itself. You either need to manually download, drag-and-drop and install; or do something equivalent.

code-server vscode ms-python.python ms-toolsai.jupyter
3.11.0 1.57 v2021.8.1159798656
Installing from code-server’s default marketplace: ✅
Open VSX Download
GtiHub Download
v2021.6.9999
Installing from code-server’s default marketplace: ❌
GitHub build artifact from microsoft/vscode-jupyter
3.11.1 1.57.1 v2021.8.1159798656
Installing from code-server’s default marketplace: ✅
Open VSX Download
GtiHub Download
v2021.6.9999
Installing from code-server’s default marketplace: ❌
GitHub build artifact from microsoft/vscode-jupyter
3.12 1.60 2021.9.1218897484
Installing from code-server’s default marketplace: ✅
Open VSX Download
GitHub Download
v2021.8.12
Installing from code-server’s default marketplace: ❌
Open VSX Download
GitHub build artifact from microsoft/vscode-jupyter

@jsjoeio What’s the best way to help here? Build a working version myself and send it over? Try and figure out how to edit the current command so the process starts working again? Can we make your scraper use the build artifacts from their CI/CD releases? Try to engage the maintainers to put the link directly to the VSIX in their releases? Can we re-upload to coder’s marketplace the VSIX from Open VSX?

5reactions
jsjoeiocommented, Sep 24, 2021

So should Jupyter now work after we update?

Once 3.12.1 is out, yes!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot run jupyter kernel using python extension #3874
Open terminal and type "python -m pip list" and check jupyter notebook and its dependent packages are installed. i have been using mixed...
Read more >
What to do when things go wrong - The Jupyter Notebook
If you're using a menu shortcut or Anaconda launcher to start it, try opening a terminal or command prompt and running the command...
Read more >
Failed to start the Kernel - Jupyter in VS Code
A workaround would be to run the kernel in a separate terminal (using the jupyter notebook command), ...
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 >
Jupyter Notebooks in VS Code Extension NEW in 2022
Your browser can't play this video. ... Jupyter Notebooks in VS Code Extension NEW in 2022 - Tutorial Introducing Kernels, Markdown, & Cells....
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