Skip to content

Python Extension isn't reading properly. #25787

@ecstech-thomasdykes

Description

@ecstech-thomasdykes

Type: Bug

Behaviour

When I use the python --version command VSCode says python isn't installed. When I run py --verison it returns the version of python I have installed. I can't run python scripts because I am told that python isn't installed even though it is. When I do ctrl+shift+p and use "Python: Select Interpreter" my version of python shows up, but I can't run any scripts in Python.

Steps to reproduce:

  1. run "python --version" in the terminal"

Diagnostic data

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

Extension version: 2026.0.0
VS Code version: Code 1.109.0 (bdd88df003631aaa0bcbe057cb0a940b80a476fa, 2026-02-04T02:01:38.288Z)
OS version: Windows_NT x64 10.0.22631
Modes:

  • Python version (& distribution if applicable, e.g. Anaconda): 3.13.11
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): System
  • Value of the python.languageServer setting: Default
User Settings


languageServer: "Pylance"

Installed Extensions
Extension Name Extension Id Version
debugpy ms- 2025.18.0
js-debug ms- 1.105.0
js-debug-companion ms- 1.1.3
python ms- 2026.0.0
vscode-js-profile-table ms- 1.0.10
vscode-pylance ms- 2025.10.4
vscode-python-envs ms- 1.16.0
System Info
Item Value
CPUs Intel(R) Core(TM) Ultra 7 265U (14 x 3379)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x7d41 [Intel(R) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8132 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.22621.5415
Machine model name:
Machine model version:
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.46GB (6.14GB free)
Process Argv --crash-reporter-id 2c26368a-23a5-4dbf-a98f-678cc0fde010
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vswsl492cf:30256860
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31436602
aj953862:31281341
63221493:31336333
cloudbuttont:31379625
3efgi100_wstrepl:31403338
56b7f661:31457055
use-responses-api:31390855
anonusage:31403420
ddidt:31399633
ec5jj548:31422691
cp_cls_c_966_ss:31454199
c0683394:31458171
a5gib710:31434435
7a04d226_do_not_restore_last_panel_session:31438103
anthropic_thinking_c:31457102
406hc587_ask_agent:31428393
cp_cls_c_1081:31454833
nes-set-to-on:31441941
a43f0574a:31442826
18jd0202:31460037
edit_mode_hidden:31459179
showstats:31457174
864ei723_large_tool_results_to_disk:31458758
notips:31457203
hg17d649:31458077
chat:31457767

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage-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