Skip to content

VSCode-Python Extension Activation Failed #25489

@duytrung

Description

@duytrung

Type: Bug

Environment Information
Extension Version: 1.8.0
Python Extension Version: 2025.15.2025092201

Registered Environment Managers (3):
  - ms-python.python:system (Global)
  - ms-python.python:venv (venv)
  - ms-python.python:conda (Conda)

Total Available Environments: 6
Environment Details:
  1. Python 3.12.11 (3.12.11.final.0) - C:\Msys64\ucrt64\bin\python.exe
  2. Python 3.12.11 (3.12.11.final.0) - C:\Msys64\ucrt64\bin\python3.12.exe
  3. Python 3.12.11 (3.12.11.final.0) - C:\Msys64\ucrt64\bin\python3.exe
  4. venv (no-python) (no-python) - C:\MyPrograms\Anaconda3\envs\venv
  5. base (3.13.7) (3.13.7) - C:\MyPrograms\Anaconda3
  6. tf (3.7.12) (3.7.12) - C:\MyPrograms\Anaconda3\envs\tf

Python Projects (1):
  1. c:\MyPrograms\@@PyCodes
     Environment: venv (no-python)

Extension Settings:
  Default Environment Manager: ms-python.python:conda
  Default Package Manager: ms-python.python:conda
Auto-activation is "command". Activation based on first 'py-env.terminal.autoActivationType' setting which is 'command' and 'python.terminal.activateEnvironment' if the first is undefined which is 'true'.

Here is the additional info from output windows:
2025-09-28 19:23:26.861 [info] Experiment 'pythonSurveyNotification' is active
2025-09-28 19:23:31.057 [info] > pyenv which python
2025-09-28 19:23:31.057 [info] cwd: .
2025-09-28 19:23:33.676 [info] Active interpreter [c:\Users\trung\Downloads\MyDevs]: C:\MyPrograms\WinPython\python\python.exe
2025-09-28 19:23:39.131 [info] Starting Pylance language server.
2025-09-28 20:30:25.860 [info] > conda info --json
2025-09-28 20:30:45.531 [info] Active interpreter [c:\Users\trung\Downloads\MyDevs\NLP.ipynb]: C:\MyPrograms\WinPython\python\python.exe
2025-09-28 23:57:39.319 [info] Experiment 'pythonSurveyNotification' is active
2025-09-28 23:57:39.320 [error] extension activation failed Error: command 'python.viewOutput' already exists
at ey.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:40314)
at Object.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:201:103472)
at s.registerCommand (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.14.0-win32-x64\out\client\extension.js:2:129447)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.14.0-win32-x64\out\client\extension.js:2:477886
at t.activateComponents (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.14.0-win32-x64\out\client\extension.js:2:476850)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.14.0-win32-x64\out\client\extension.js:2:2700145
at e (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.14.0-win32-x64\out\client\extension.js:2:2699677)
at Vb.n (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13382)
at Vb.m (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13345)
at Vb.l (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:12801)
2025-09-29 00:26:16.851 [info] Experiment 'pythonSurveyNotification' is active
2025-09-29 00:26:16.851 [error] extension activation failed Error: command 'python.viewOutput' already exists
at ey.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:40314)
at Object.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:201:103472)
at s.registerCommand (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.14.0-win32-x64\out\client\extension.js:2:129447)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.14.0-win32-x64\out\client\extension.js:2:477886
at t.activateComponents (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.14.0-win32-x64\out\client\extension.js:2:476850)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.14.0-win32-x64\out\client\extension.js:2:2700145
at e (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.14.0-win32-x64\out\client\extension.js:2:2699677)
at Vb.n (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13382)
at Vb.m (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13345)
at Vb.l (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:12801)
2025-09-29 00:33:42.590 [info] Experiment 'pythonSurveyNotification' is active
2025-09-29 00:33:42.590 [error] extension activation failed Error: command 'python.viewOutput' already exists
at ey.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:40314)
at Object.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:201:103472)
at s.registerCommand (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:129447)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:477886
at t.activateComponents (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:476850)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701674
at e (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701206)
at Vb.n (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13382)
at Vb.m (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13345)
at Vb.l (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:12801)
2025-09-29 00:35:48.354 [info] Experiment 'pythonSurveyNotification' is active
2025-09-29 00:35:48.354 [error] extension activation failed Error: command 'python.viewOutput' already exists
at ey.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:40314)
at Object.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:201:103472)
at s.registerCommand (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:129447)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:477886
at t.activateComponents (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:476850)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701674
at e (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701206)
at Vb.n (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13382)
at Vb.m (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13345)
at Vb.l (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:12801)
2025-09-29 00:38:03.761 [info] Experiment 'pythonSurveyNotification' is active
2025-09-29 00:38:03.761 [error] extension activation failed Error: command 'python.viewOutput' already exists
at ey.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:40314)
at Object.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:201:103472)
at s.registerCommand (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:129447)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:477886
at t.activateComponents (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:476850)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701674
at e (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701206)
at Vb.n (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13382)
at Vb.m (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13345)
at Vb.l (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:12801)
2025-09-29 00:39:35.424 [info] Experiment 'pythonSurveyNotification' is active
2025-09-29 00:39:35.424 [error] extension activation failed Error: command 'python.viewOutput' already exists
at ey.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:40314)
at Object.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:201:103472)
at s.registerCommand (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:129447)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:477886
at t.activateComponents (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:476850)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701674
at e (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701206)
at Vb.n (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13382)
at Vb.m (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13345)
at Vb.l (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:12801)
2025-09-29 00:43:14.906 [info] Experiment 'pythonSurveyNotification' is active
2025-09-29 00:43:14.906 [error] extension activation failed Error: command 'python.viewOutput' already exists
at ey.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:40314)
at Object.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:201:103472)
at s.registerCommand (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:129447)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:477886
at t.activateComponents (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:476850)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701674
at e (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701206)
at Vb.n (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13382)
at Vb.m (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13345)
at Vb.l (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:12801)
2025-09-29 00:44:46.815 [info] Experiment 'pythonSurveyNotification' is active
2025-09-29 00:44:46.815 [error] extension activation failed Error: command 'python.viewOutput' already exists
at ey.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:40314)
at Object.registerCommand (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:201:103472)
at s.registerCommand (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:129447)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:477886
at t.activateComponents (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:476850)
at c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701674
at e (c:\MyPrograms\Tools\VSCode\data\extensions\ms-python.python-2025.15.2025092201-win32-x64\out\client\extension.js:2:2701206)
at Vb.n (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13382)
at Vb.m (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:13345)
at Vb.l (file:///c:/MyPrograms/Tools/VSCode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:12801)

Extension version: 2025.15.2025092201
VS Code version: Code - Insiders 1.105.0-insider (588279f5b77b10bc41f3f8bb864350814e3823f4, 2025-09-26T05:05:03.410Z)
OS version: Windows_NT x64 10.0.27954
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 x 2712)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 127.76GB (88.84GB free)
Process Argv --crash-reporter-id 4114d217-33be-46b7-928b-90d0a6a8b8db
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
pythonvspyt551:31249597
vscrp:30624060
nativeloc1:31118317
dwcopilot:31158714
dwoutputs:31242946
copilot_t_ci:31333650
g012b348:31231168
6gi0g917:31259950
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
6518g693:31302842
0g1h6703:31329154
cs4_fixed:31391938
6abeh943:31336334
envsactivate1:31349248
editstats-enabled:31346256
aa_t:31379596
cloudbuttont:31366566
aihoversummaries_t:31386667
ghonly:31384271
todos-0:31366869
qwen_model:31388656
multireplacestring:31382717
nb255704_tf:31377673
3efgi100_wstrepl:31382709
metis-embeddings:31382293
ge3cd652:31390471
trigger-command-fix:31379601
chat-sessions-view-t:31392541
auto_model_enabled:31385282
node-fetch:31392471
grok-v2-prompt:31384641
use-responses-api:31390341
ic2f3768:31391189
codex-cli:31393570

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions