I had the same issue (at least it seemed the same), however it is possible to work around it if you are using the Python extension in conjunction with Remote Debugging.

You can ignore the extension's activation failure if that is your primary use, since VSCode is still able to debug remotely using Python Remote Attach.


After some more work on this, I found that updating the Python Extension to the pre-release version cleared up the various errors that came with the recent updates.

Answer from Zachary Barnett on Stack Overflow
🌐
GitHub
github.com › microsoft › vscode-python › issues › 20456
Extension activation failed under latest insiders build · Issue #20456 · microsoft/vscode-python
January 4, 2023 - Type: Bug A few hours ago VSC was updated to the latest insiders build and upon restart the Python extension fails to load with the following error message being shown in the Developer Tools console: Activating extension 'ms-python.pytho...
Author   ghylander
🌐
GitHub
github.com › microsoft › vscode › issues › 170558
Python extensions do not work after updating to the latest version of VS Code Insiders · Issue #170558 · microsoft/vscode
January 4, 2023 - Open Developer Tool, it will show Activating extension 'ms-python.python' failed: this.a.sendEventData is not a function. and all Python-related extension can not activate correctly.
Author   WitherZuo
🌐
GitHub
github.com › microsoft › vscode-python › issues › 20643
Extension does not start after VS Code 1.75 update · Issue #20643 · microsoft/vscode-python
February 3, 2023 - ERR Extension 'ms-python.python' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. Activating extension 'ms-python.python' failed: TelemetrySender.sendEventData must be a function.
Author   letmaik
🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
[SOLVED] VS Code, after upgrading: Python extension fails to load...? / Applications & Desktop Environments / Arch Linux Forums
January 3, 2023 - UPDATE #2: I think I found a work-around: I just have to start vs code like this (taken from the logging-view): code --enable-proposed-api ms-python.python & disown
🌐
GitHub
github.com › microsoft › vscode-python › issues › 432
Activating extension `ms-python.python` failed: Missing required @injectable annotation in: PersistentStateFactory. · Issue #432 · microsoft/vscode-python
December 15, 2017 - [Extension Host] Here is the error stack: Error: Missing required @Injectable annotation in: PersistentStateFactory. at getTargets (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/planning/reflection_utils.js:19:15) at Object.getDependencies (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/planning/reflection_utils.js:10:19) at /Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/planning/planner.js:106:55 at Array.forEach (native) at _createSubRequests (/Users/lili01/.vscode/extensions/ms-pytho
Author   viewstar000
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode-python › issues › 17460
Activating extension 'ms-python.python' failed: Unexpected token , in JSON · Issue #17460 · microsoft/vscode-python
September 19, 2021 - Running Python/conda from Terminal works well. How can I get more detailed log or figure out "which is the JSON in question"? ... bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug ... You can’t perform that action at this time.
Author   marekmodry
🌐
GitHub
github.com › microsoft › vscode-python › issues › 898
Activating extension `ms-python.python` failed: Cannot find module 'untildify'. · Issue #898 · microsoft/vscode-python
February 25, 2018 - Activating extension `ms-python.python` failed: Cannot find module 'untildify'. ... You can’t perform that action at this time.
Author   owd2
🌐
GitHub
github.com › microsoft › vscode-python › issues › 15972
Cannot activate the 'Python' extension because it depends on the 'Jupyter' extension, which is not loaded. Would you like to reload the window to load the extension? · Issue #15972 · microsoft/vscode-python
April 15, 2021 - Deleting the extension following file and reinstalling the extensions fix the issue for the current session: ~/vscode-server/extensions/ms-python.python-2021.3.680753044 ~/vscode-server/extensions/ms-toolsai.jupyter-2021.5.702919634 · When ...
Author   20v100
🌐
GitHub
github.com › microsoft › vscode-python › issues › 8277
Error activating Python extension when Java extension is already activated · Issue #8277 · microsoft/vscode-python
October 29, 2019 - [Extension Host] Here is the error stack: TypeError: (intermediate value).disable(...).ignoreErrors is not a function at Object.t.initialize (/Users/pavel/.vscode/extensions/ms-python.python-2019.10.44104/out/client/extension.js:24:10981) at Object.<anonymous> (/Users/pavel/.vscode/extensions/ms-python.python-2019.10.44104/out/client/extension.js:9:344367) at n (/Users/pavel/.vscode/extensions/ms-python.python-2019.10.44104/out/client/extension.js:1:279) at /Users/pavel/.vscode/extensions/ms-python.python-2019.10.44104/out/client/extension.js:1:1078 at Object.<anonymous> (/Users/pavel/.vscode/
Published   Oct 29, 2019
🌐
GitHub
github.com › microsoft › vscode-python › issues › 5437
Extension doesn't load · Issue #5437 · microsoft/vscode-python
April 24, 2019 - _logMessageInConsole @ extensionService.ts:800 console.ts:134 [Extension Host] Activating extension `ms-python.python` failed: Unexpected token } in JSON at position 2364 t.log @ console.ts:134 console.ts:134 [Extension Host] Here is the error stack: SyntaxError: Unexpected token } in JSON at position 2364 at JSON.parse (<anonymous>) at d (/home/mkx/.vscode/extensions/ms-python.python-2019.4.11881/out/client/extension.js:1:39446) at Object.module.exports.Object.defineProperty.value (/home/mkx/.vscode/extensions/ms-python.python-2019.4.11881/out/client/extension.js:1:39801) at n (/home/mkx/.vsc
Author   emkaix
🌐
Stack Overflow
stackoverflow.com › questions › 74466183 › why-is-my-python-extension-not-loading-in-vscode-microsoft
Why is my python extension not loading in VSCode? (Microsoft) - Stack Overflow
I tried to solve this with a few tricks I found on stackoverflow, like disabling python.experiments. It still didn't work so I thought I would just start without a venv, but then the python extension was not working anymore. VScode said: Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information' The errors I found where: Activation extension 'ms-python.python' failed: e.endswith is not a function
🌐
GitHub
github.com › microsoft › vscode-python › issues › 9578
Activating extension 'ms-python.python' failed: command 'python.setInterpreter' already exists. · Issue #9578 · microsoft/vscode-python
January 15, 2020 - tension ms-python.python failed due to an error: [2020-01-14 11:50:11.780] [exthost] [error] Error: command 'python.setInterpreter' already exists at v.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:537:688) at Object.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:763:697) at s.registerCommand (/Users/jingshaochen/.vscode/extensions/ms-python.python-2020.1.58038/out/client/extension.js:75:453955) at d.ini
Author   shaozi