I had this same issue and finally got it fixed!


If you are on an Linux and are using an Arch-based distro with AUR support, simply install the code-features package using:

yay -S code-features

or any AUR helper of your choosing.


On other operating systems, you should do the following:

Open your VSCode's product.json. I do not know where this file is on your operating system, so please do some research.

Look for the following line:

"extensionAllowedProposedApi": [ ...

Add the following entry to that array:

"ms-toolsai.jupyter": ["notebookConcatTextDocument", 
    "notebookControllerKind", "notebookDebugOptions", "notebookDeprecated", 
    "notebookEditor", "notebookEditorDecorationType", "notebookEditorEdit", 
    "notebookMessaging", "notebookMime", "notebookCellExecutionState", 
    "portsAttributes", "textDocumentNotebook", "quickPickSortByLabel"]

For example, if the line was originally:

"extensionAllowedProposedApi": [ "extension1", "extension2" ]

Then change it to:

"extensionAllowedProposedApi": [ "extension1", "extension2", 
    "ms-toolsai.jupyter": ["notebookConcatTextDocument", 
    "notebookControllerKind", "notebookDebugOptions", "notebookDeprecated", 
    "notebookEditor", "notebookEditorDecorationType", "notebookEditorEdit", 
    "notebookMessaging", "notebookMime", "notebookCellExecutionState", 
    "portsAttributes", "textDocumentNotebook", "quickPickSortByLabel"] ]

Note that with the second method, you will need to edit product.json every time you update VSCode.

Answer from CAG2 on Stack Overflow
Top answer
1 of 3
19

I had this same issue and finally got it fixed!


If you are on an Linux and are using an Arch-based distro with AUR support, simply install the code-features package using:

yay -S code-features

or any AUR helper of your choosing.


On other operating systems, you should do the following:

Open your VSCode's product.json. I do not know where this file is on your operating system, so please do some research.

Look for the following line:

"extensionAllowedProposedApi": [ ...

Add the following entry to that array:

"ms-toolsai.jupyter": ["notebookConcatTextDocument", 
    "notebookControllerKind", "notebookDebugOptions", "notebookDeprecated", 
    "notebookEditor", "notebookEditorDecorationType", "notebookEditorEdit", 
    "notebookMessaging", "notebookMime", "notebookCellExecutionState", 
    "portsAttributes", "textDocumentNotebook", "quickPickSortByLabel"]

For example, if the line was originally:

"extensionAllowedProposedApi": [ "extension1", "extension2" ]

Then change it to:

"extensionAllowedProposedApi": [ "extension1", "extension2", 
    "ms-toolsai.jupyter": ["notebookConcatTextDocument", 
    "notebookControllerKind", "notebookDebugOptions", "notebookDeprecated", 
    "notebookEditor", "notebookEditorDecorationType", "notebookEditorEdit", 
    "notebookMessaging", "notebookMime", "notebookCellExecutionState", 
    "portsAttributes", "textDocumentNotebook", "quickPickSortByLabel"] ]

Note that with the second method, you will need to edit product.json every time you update VSCode.

2 of 3
6

Just ran into this today (I'm on MacOS for my work computer). In my case, upgrading to the pre-release version of the Jupyter extension (v2022.5.1001281006) solved it right away.

If you're not an experienced programmer/software engineer, as is the case for me, I suggest trying to upgrade (or roll back) either VS code or the plugin itself before going with your own dev code for the plugin, as with @CAG2 pt2 answer. (Personally, I had trouble finding a 'product.json' file; perhaps you need an insider's build of VS code for that kind of thing [edit]: https://code.visualstudio.com/api/advanced-topics/using-proposed-api, in which case I think you'd be editing 'package.json').

🌐
GitHub
github.com › microsoft › vscode › issues › 174376
Jupyter extension activation fails · Issue #174376 · microsoft/vscode
February 14, 2023 - ... OS: Mac OS Catalina (10.15.7) ... at the bottom right corner: Extension activation failed run the 'Developer: Toggle Developer Tools' command for more information ... log.ts:398 WARN Via 'product.json#extensionEnabledApiProposals' ...
Author   mlangiu
🌐
Reddit
reddit.com › r/vscode › jupyter extension activation failed can't run any notebook cells. helpp
r/vscode on Reddit: Jupyter Extension Activation Failed Can't Run Any Notebook Cells. HELPP
October 9, 2025 -

Hey everyone,

I'm running into a persistent issue with the Jupyter extension in VS Code and I'm hoping someone can point me in the right direction.

I'm trying to run a simple Python cell in a .ipynb notebook, but I can't execute anything because the Jupyter extension fails to start. As you can see in the screenshot, I keep getting the error notification: Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.

What I've Tried So Far:

  • Reinstalling: I have completely uninstalled and reinstalled the Jupyter extension (and its related dependencies like the Python extension) multiple times.

  • Restarts: I have closed and reopened VS Code, and even restarted my computer.

  • New Environments: I've created fresh virtual environments (using venv) and installed ipykernel within them, but the issue persists no matter which interpreter I select.

  • Different Files: This happens with any notebook file, even a brand new one with a single print() statement.

I feel like I'm missing something obvious, but I can't figure out what

🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 6283
Extension activation failed · Issue #6283 · microsoft/vscode-jupyter
June 15, 2021 - "Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information." Notebook renders as standard JSON. Opening the Developer tools window shows logs; attached.
Author   mackellardrew
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 5829
Jupyter Extension activation failed. · Issue #5829 · microsoft/vscode-jupyter
May 11, 2021 - Jupyter Extension activation failed. extension activation failed TypeError: s.notebook.onDidChangeNotebookCellExecutionState is not a function at new d (c:\Users\vyizh12\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.6.831144556\out\client\extension.js:90:450992) at Object.t.resolveInstance (c:\Users\vyizh12\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.6.831144556\out\client\extension.js:52:263270) at c:\Users\vyizh12\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.6.831144556\out\client\extension.js:52:262475 at Array.map (<anonymous>) at Object.t.resolveInstance (c:\Users\vyi
Published   May 11, 2021
Author   linette-zyy
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 16973
error jupyter extension vscode · Issue #16973 · microsoft/vscode-jupyter
September 11, 2025 - With today's update 2023.8.1002501831, It doesn't recognize the interpreter for a virtual environment. The extension started to fail in VScode:
Author   jeo20
🌐
Reddit
reddit.com › r/vscode › linux - jupyter extension activation failed
r/vscode on Reddit: Linux - Jupyter Extension activation failed
January 30, 2022 -

I'm trying to open and execute some ipynb files in Code on Arch Linux. Installed Python and Jupyter extensions.

Whenever I try to run code in the ipnyb file, I get this nagging error message for the Jupyter extension saying

Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.

I tried switching the interpreter to the default Python 3.10.2 and also the Python 3.9.x installation in the Anaconda custom environment, but still no luck. Any idea how to fix this?

🌐
GitHub
github.com › Microsoft › vscode-jupyter › issues › 17030
Activation of the Jupyter extension failed in VS Code 1.104.3 · Issue #17030 · microsoft/vscode-jupyter
October 8, 2025 - Type: Bug Here is the error in the output of vscode. Failed to active the Jupyter Extension [TypeError: this.vscNotebook.onDidChangeNotebookCellExecutionState is not a function at new Rk (.vscode\extensions\ms-toolsai.jupyter-2023.8.1002...
Author   prcheruk
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 5815
Jupyter Extension activation failed. · Issue #5815 · microsoft/vscode-jupyter
Jupyter Extension activation failed. extension activation failed TypeError: o.getConfiguration(...).get(...).find is not a function at new m (c:\Users\vyizh12\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.6.819764235\out\client\extension.js:52:683169) at Object.t.resolveInstance (c:\Users\vyizh12\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.6.819764235\out\client\extension.js:52:263270) at c:\Users\vyizh12\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.6.819764235\out\client\extension.js:52:262475 at Object.t.resolve (c:\Users\vyizh12\.vscode-insiders\extensions\ms-toolsai.ju
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 12200
Fail to activate the Jupyter extension · Issue #12200 · microsoft/vscode-jupyter
November 29, 2022 - Python Extension Version: 2022.19.13251009. Workspace folder /*** info 17:34:03.699: ZMQ install verified. User belongs to experiment group 'jupyterTest' User belongs to experiment group 'jupyterEnhancedDataViewer' error 17:34:04.188: Failure during activation. [TypeError: s.notebooks.createNotebookControllerDetectionTask is not a function at h.startRefreshWithPython (/***/.vscode-server/extensions/ms-toolsai.jupyter-2022.11.1003301027/out/extension.node.js:2:2070921) at h.activate (/***/.vscode-server/extensions/ms-toolsai.jupyter-2022.11.1003301027/out/extension.node.js:2:2069968) at /***/.v
Author   cameron-chen
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 6127
Jupyter Extension activation failed · Issue #6127 · microsoft/vscode-jupyter
Please use the Buffer.alloc(), ... the warning was created) Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information. onDidChangeNotification @ notificationsAlerts.ts:40 extension ...
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 11174
Extension activation failed [TypeError: s.notebooks.onDidChangeCellMetadata is not a function] · Issue #11174 · microsoft/vscode-jupyter
August 22, 2022 - Python Extension Version: 2022.4.1. Info 19:03:21: ZMQ install verified. Error 19:03:21: extension activation failed [TypeError: s.notebooks.onDidChangeCellMetadata is not a function ... Running the command results in Error dialog saying: Command Jupyter: Show Output resulted in error jupyter.viewOutput not found
Author   quaesitor-scientiam
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 13064
Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information. · Issue #13064 · microsoft/vscode-jupyter
March 13, 2023 - microsoft / vscode-jupyter Public ... link · Closed · Closed · Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.#13064 ·...
Author   Voilett
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 17036
Extension Activation Failed · Issue #17036 · microsoft/vscode-jupyter
October 9, 2025 - Extension activation failed message upon opening / restarting VS code. Console logs below: """log.ts:460 ERR Extension 'ms-toolsai.jupyter' wants API proposal 'notebookCellExecutionState' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
Author   mbosseme
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 17091
Activation Failed · Issue #17091 · microsoft/vscode-jupyter
October 14, 2025 - Type: Bug I tried restarting and reinstalling the jupyter again and again Extension version: 2025.8.2025082701 VS Code version: Code 1.104.3 (Universal) (385651c938df8a906869babee516bffd0ddb9829, 2...
Author   zeandarra-giva
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 12171
Extension activation failed · Issue #12171 · microsoft/vscode-jupyter
Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.
🌐
GitHub
github.com › microsoft › vscode › issues › 125381
[Extension Host] extension activation failed TypeError · Issue #125381 · microsoft/vscode
June 3, 2021 - Python extension is not working ... notebook extension ... Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information....
Author   mage1k99
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 5114
Jupyter extension is not activating on codespaces · Issue #5114 · microsoft/vscode-jupyter
March 11, 2021 - The Python extension isn't activated when opening a Python file on codespaces. [NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue] Start a codespace out of https://github.com/Microsoft/python-sample-tweeterapp/. Make sure to select the fixwarnings branch, not the main one. ... See the notification error that the Jupyter extension failed to activate.
Author   luabud