Skip to content

Conda environments disappear when ms-python.vscode-python-envs is enabled #26100

Description

@laura-raes

Type: Bug

Environment

  • OS: Ubuntu 25.10
  • VS Code: 1.132.0 (.deb installation)
  • Python extension: 2026.4.0
  • Python Environments extension: 1.36.0
  • Conda: 25.7.0 (Miniconda)

Problem

Only the base Conda environment appears in the notebook kernel selector. All other Conda environments are missing.

Conda itself works correctly:

  • conda env list lists all environments.
  • conda activate <env> works.
  • The Python executables inside the environments are valid.

Reproduction

  1. Install the Python extension and the Python Environments extension.
  2. Open VS Code.
  3. Open a Jupyter notebook.
  4. Click the kernel selector.

Expected:

  • All Conda environments are available.

Actual:

  • Only the base environment is shown.

Workaround

Disabling the Python Environments extension (ms-python.vscode-python-envs) immediately restores all Conda environments in the kernel selector.

code --disable-extension ms-python.vscode-python-envs

Relevant error

The VS Code log repeatedly reports:

Error: invalid version no-python

The stack trace originates from the Python extension while processing environments.

Extension version: 2026.4.0
VS Code version: Code 1.132.0 (df53daabb18cd157bdb08c7f01c34df936cf12f4, 2026-08-04T15:30:20Z)
OS version: Linux x64 6.17.0-41-generic
Modes:

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


languageServer: "Pylance"

Installed Extensions
Extension NameExtension IdVersion
copilot-chatGit0.60.0
debugpyms-2026.6.0
dockerdoc0.18.0
js-debugms-1.117.0
js-debug-companionms-1.1.3
jsts-chat-featuresTyp0.0.4
jupyterms-2025.9.1
jupyter-keymapms-1.1.2
jupyter-renderersms-1.3.0
latex-workshopJam10.17.1
nextflownex1.7.1
pythonms-2026.4.0
rainbow-csvmec3.24.1
remote-containersms-0.466.0
vscode-containersms-2.4.5
vscode-dockerms-2.0.0
vscode-js-profile-tablems-1.0.11
vscode-jupyter-cell-tagsms-0.1.9
vscode-jupyter-slideshowms-0.1.6
vscode-pull-request-githubGit0.162.0
vscode-pylancems-2026.3.1
System Info
ItemValue
CPUsIntel(R) Core(TM) Ultra 7 165H (22 x 1651)
GPU Status2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x28b8, DRIVER_VENDOR=Mesa, DRIVER_VERSION=25.2.8
GPU1: VENDOR= 0x8086, DEVICE=0x7d55, DRIVER_VENDOR=Mesa, DRIVER_VERSION=25.2.8 ACTIVE
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgpu: enabled
webgpu_on_vk_via_gl_interop: enabled
webnn: disabled_off
Load (avg)0, 1, 0
Memory (System)61.00GB (52.96GB free)
Process Argv--disable-extension ms-python.vscode-python-envs --crash-reporter-id fd81ff73-b1d8-4d4a-851e-46fdd2694bfa
Screen Readerno
VM0%
DESKTOP_SESSIONubuntu
XDG_CURRENT_DESKTOPubuntu:GNOME
XDG_SESSION_DESKTOPubuntu
XDG_SESSION_TYPEwayland
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
control_6dc23131:31555649
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
ah:31461780
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_t:31478206
hmra_i5g22:31518061
bjc72774_agent_sandbox:31557830
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
a1ije391_t:31540920
41836166:31537719
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
jf4hg949:31526829
nes-curr-leftover-1500:31538366
ahp-both-windows:31556933
h561g132:31533256
sessions_3:31532893
ihg5j128:31534457
f412h606:31551416
9gg7f176:31542112
max-result-100:31551154
sandbox-ui-on-2:31543161
nes-ex-cf-euporie-03:31542868
5fe6f778:31554331
allow-none:31555437
6i51c363:31551401
c7c27ce7:31554789
nes-gb3-nf-4k:31554344
8hc4g144:31558143
0dg73464:31554319
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31560381
session-archive:31558132

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions