Skip to content

jupyter.kernels.excludePythonEnvironments is ignored #25107

@raffaem

Description

@raffaem

Type: Bug

Behaviour

The jupyter.kernels.excludePythonEnvironments is ignored

Steps to reproduce:

  1. Open User Settings

  2. Add "C:\Program Files\Inkscape\bin\python.exe" to jupyter.kernels.excludePythonEnvironments

    Image

  3. The interpreter is still shown in the list of environments

    Image

    Image

Diagnostic data

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

The text window is empty. There are no logs.

Diagnostic data

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

The window is empty. There are no logs

Extension version: 2025.7.2025052301
VS Code version: Code 1.100.2 (848b80aeb52026648a8ff9f7c45a9b0a80641e2e, 2025-05-14T21:47:40.416Z)
OS version: Windows_NT x64 10.0.26100
Modes:

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

Multiroot scenario, following user settings may not apply:

languageServer: "Pylance"

Installed Extensions
Extension Name Extension Id Version
air-vscode Pos 0.12.0
better-comments aar 3.0.2
black-formatter ms- 2025.2.0
copilot Git 1.323.0
copilot-chat Git 0.27.2
datawrangler ms- 1.22.0
debugpy ms- 2025.9.2025052001
even-better-toml tam 0.21.2
js-debug ms- 1.100.1
js-debug-companion ms- 1.1.3
jupyter ms- 2025.4.1
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.1.0
material-icon-theme PKi 5.23.0
mssql ms- 1.32.0
parquet-explorer Ada 1.2.1
path-intellisense chr 2.10.0
python ms- 2025.7.2025052301
r REd 2.8.5
r-debugger RDe 0.5.5
rainbow-csv mec 3.19.0
ruff cha 2025.22.0
sqlite-viewer qwt 0.10.6
uv-wingman DJS 0.0.3
vscode-js-profile-table ms- 1.0.10
vscode-pylance ms- 2025.5.100
vscode-python-envs ms- 0.3.11431009
vscode-theme-onedark aka 2.3.0
vscode-yaml red 1.18.0
System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i5-13420H (12 x 2611)
GPU Status 2d_canvas: enabled
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: 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) 63.71GB (46.59GB free)
Process Argv ABRIDGED\workspace.code-workspace --crash-reporter-id f5bea1ae-f435-41c5-9d1f-b2377d1480f5
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551cf:31249601
vscod805:30301674
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
pylancecolor:31314202
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004

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