2025-06-18 19:17:17.365 [info] Active interpreter [/Users/anthony/perfmgmt]: /Users/anthony/perfmgmt/.venv/bin/python
2025-06-18 19:17:17.366 [info] Discover tests for workspace name: perfmgmt - uri: /Users/anthony/perfmgmt
2025-06-18 19:17:17.366 [info] Python interpreter path: ./.venv/bin/python
2025-06-18 19:18:40.242 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-06-18 19:18:40.242 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-06-18 19:18:40.242 [warning] Dir "/Users/anthony/perfmgmt/.pixi/envs" is not watchable (directory does not exist)
2025-06-18 19:18:40.242 [info] VS Code was launched from an activated environment: 'venv', selecting it as the interpreter for workspace.
2025-06-18 19:18:40.242 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:18:40.741 [info] > ./venv -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:18:40.754 [error] [Error: Command failed: /Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/anthony/perfmgmt/venv: No such file or directory
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at ChildProcess.exithandler (node:child_process:415:12)
at ChildProcess.emit (node:events:530:35)
at maybeClose (node:internal/child_process:1101:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Pipe.<anonymous> (node:net:351:12)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py'
}
2025-06-18 19:18:42.761 [info] > ./venv -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:18:42.775 [error] [Error: Command failed: /Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/anthony/perfmgmt/venv: No such file or directory
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at ChildProcess.exithandler (node:child_process:415:12)
at ChildProcess.emit (node:events:530:35)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py'
}
2025-06-18 19:18:42.796 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:18:43.793 [info] Starting Pylance language server.
2025-06-18 19:18:43.794 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:20:59.579 [info] Active interpreter [/Users/anthony/perfmgmt]: /Users/anthony/perfmgmt/.venv/bin/python
2025-06-18 19:20:59.580 [info] Discover tests for workspace name: perfmgmt - uri: /Users/anthony/perfmgmt
2025-06-18 19:20:59.580 [info] Python interpreter path: ./.venv/bin/python
2025-06-18 19:21:06.632 [info] Starting Environment refresh
2025-06-18 19:21:06.632 [info] Searching for interpreters in posix paths locator
2025-06-18 19:21:06.633 [info] Searching for pyenv environments
2025-06-18 19:21:06.633 [info] Searching for conda environments
2025-06-18 19:21:06.633 [info] Searching for global virtual environments
2025-06-18 19:21:06.633 [info] Searching for custom virtual environments
2025-06-18 19:21:06.636 [info] > conda info --json
2025-06-18 19:21:06.638 [info] > hatch env show --json
2025-06-18 19:21:06.638 [info] cwd: .
2025-06-18 19:21:06.639 [info] Finished searching for custom virtual envs: 6 milliseconds
2025-06-18 19:21:06.640 [info] Finished searching for global virtual envs: 7 milliseconds
2025-06-18 19:21:06.641 [info] > poetry env list --full-path
2025-06-18 19:21:06.641 [info] cwd: .
2025-06-18 19:21:06.645 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2025-06-18 19:21:06.647 [info] > ./.venv/bin/python -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:06.650 [info] > ~/.pyenv/versions/3.10.16/bin/python -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:06.652 [info] Found: /opt/homebrew/bin/python3 --> /opt/homebrew/Cellar/python@3.13/3.13.3_1/Frameworks/Python.framework/Versions/3.13/bin/python3.13
2025-06-18 19:21:06.653 [info] Found: /opt/homebrew/bin/python3.12 --> /opt/homebrew/Cellar/python@3.12/3.12.10_1/Frameworks/Python.framework/Versions/3.12/bin/python3.12
2025-06-18 19:21:06.653 [info] Found: /opt/homebrew/bin/python3.13 --> /opt/homebrew/Cellar/python@3.13/3.13.3_1/Frameworks/Python.framework/Versions/3.13/bin/python3.13
2025-06-18 19:21:06.656 [info] Finished searching for pyenv environments: 23 milliseconds
2025-06-18 19:21:06.660 [info] Finished searching for interpreters in posix paths locator: 28 milliseconds
2025-06-18 19:21:06.679 [info] > ~/.pyenv/versions/3.12.10/bin/python -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:06.681 [info] > ~/.pyenv/versions/3.12.8/bin/python -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:06.706 [info] > ~/.pyenv/versions/3.8.13/bin/python -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:06.709 [info] > ~/.pyenv/versions/3.8.20/bin/python -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:06.731 [info] > ~/.pyenv/versions/3.9.21/bin/python -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:06.733 [info] > /usr/bin/python3 -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:06.757 [info] > /opt/homebrew/bin/python3 -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:06.787 [info] > /opt/homebrew/bin/python3.12 -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:07.104 [info] Environments refresh paths discovered (event): 472 milliseconds
2025-06-18 19:21:07.104 [info] Environments refresh paths discovered: 472 milliseconds
2025-06-18 19:21:07.105 [info] Environments refresh finished (event): 473 milliseconds
2025-06-18 19:21:07.110 [info] Environment refresh took 479 milliseconds
2025-06-18 19:21:12.595 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-06-18 19:21:12.595 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-06-18 19:21:12.595 [warning] Dir "/Users/anthony/perfmgmt/.pixi/envs" is not watchable (directory does not exist)
2025-06-18 19:21:12.595 [info] VS Code was launched from an activated environment: 'venv', selecting it as the interpreter for workspace.
2025-06-18 19:21:12.595 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:21:12.911 [info] > ./venv -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:13.063 [info] > pyenv which python
2025-06-18 19:21:13.063 [info] cwd: .
2025-06-18 19:21:13.064 [error] [Error: Command failed: /Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/anthony/perfmgmt/venv: No such file or directory
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at ChildProcess.exithandler (node:child_process:415:12)
at ChildProcess.emit (node:events:530:35)
at maybeClose (node:internal/child_process:1101:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Pipe.<anonymous> (node:net:351:12)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py'
}
2025-06-18 19:21:13.221 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:21:13.222 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:21:15.068 [info] > ./venv -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:21:15.075 [error] [Error: Command failed: /Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/anthony/perfmgmt/venv: No such file or directory
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at ChildProcess.exithandler (node:child_process:415:12)
at ChildProcess.emit (node:events:530:35)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py'
}
2025-06-18 19:21:15.092 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:21:16.085 [info] Starting Pylance language server.
2025-06-18 19:21:16.086 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:26:55.500 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-06-18 19:26:55.500 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-06-18 19:26:55.500 [warning] Dir "/Users/anthony/perfmgmt/.pixi/envs" is not watchable (directory does not exist)
2025-06-18 19:26:55.500 [info] VS Code was launched from an activated environment: 'venv', selecting it as the interpreter for workspace.
2025-06-18 19:26:55.500 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:26:55.871 [info] > pyenv which python
2025-06-18 19:26:55.871 [info] cwd: .
2025-06-18 19:26:55.982 [info] > ./venv -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:26:55.995 [error] [Error: Command failed: /Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/anthony/perfmgmt/venv: No such file or directory
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at ChildProcess.exithandler (node:child_process:415:12)
at ChildProcess.emit (node:events:530:35)
at maybeClose (node:internal/child_process:1101:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Pipe.<anonymous> (node:net:351:12)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py'
}
2025-06-18 19:26:56.022 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:26:56.022 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
2025-06-18 19:26:58.002 [info] > ./venv -I ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
2025-06-18 19:26:58.015 [error] [Error: Command failed: /Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/anthony/perfmgmt/venv: No such file or directory
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at ChildProcess.exithandler (node:child_process:415:12)
at ChildProcess.emit (node:events:530:35)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/anthony/perfmgmt/venv -I /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/get_output_via_markers.py /Users/anthony/.vscode/extensions/ms-python.python-2025.9.2025061801-darwin-arm64/python_files/interpreterInfo.py'
}
2025-06-18 19:26:58.034 [warning] Failed to check if /Users/anthony/perfmgmt/venv is an executable [Error: ENOENT: no such file or directory, lstat '/Users/anthony/perfmgmt/venv'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/anthony/perfmgmt/venv'
}
Type: Bug
Already included interpreter path and its valid, but keeps saying invalid python interpreter path.
It also keeps resolving to
venvinstead of.venvfor some reasonrelated: #20644
Behaviour
Python extension keeps complaining that "An invalid Python interpreter is selected"
Steps to reproduce:
.venvPython: Clear Workspace Interpreter Setting.vscode/settings.jsonwith:Developer: Reload WindowDiagnostic data
NOTE: The logs are stripped because it keeps old output even if I clear it
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Extension version: 2025.9.2025061801
VS Code version: Code 1.101.0 (Universal) (dfaf44141ea9deb3b4096f7cd6d24e00c147a4b1, 2025-06-11T15:00:50.123Z)
OS version: Darwin arm64 24.5.0
Modes:
python.languageServersetting: PylanceUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
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: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments