Skip to content

Virtualenv for python detected but not shown in list of interpreter #1048

@kat-star-me

Description

@kat-star-me

Type: Bug

When I start my vscode it checks for virtual environments and detects them (according to the logs).
However when I want to switch interpreter it will only show the list of globally installed python versions (and the venv that was active when I last closed the app). If I add the path manually it will work and is shown. However, I don't necessarily want to dig through the folders to find my venvs after every restart of the app.

I'm attaching a picture with the log in the background and the 'available' interpreters on top. This has worked in the past, but I'm not entirely sure when it stopped working as I normally don't have to change environments frequently.

I'm managing my virtualenvironments with virtualenvwrapper and don't have conda installed.

Image

VS Code version: Code 1.105.0 (03c265b1adee71ac88f833e065f7bb956b60550a, 2025-10-08T14:09:35.891Z)
OS version: Linux x64 6.14.0-33-generic snap
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 3959)
GPU Status 2d_canvas: unavailable_software
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off
webnn: unavailable_software
Load (avg) 1, 1, 1
Memory (System) 31.05GB (14.22GB free)
Process Argv --no-sandbox --force-user-env --crash-reporter-id 42fbfa78-2d15-410e-9b58-8c79f09070d7
Screen Reader no
VM 0%
DESKTOP_SESSION plasma
XDG_CURRENT_DESKTOP KDE
XDG_SESSION_DESKTOP KDE
XDG_SESSION_TYPE wayland
Extensions (23)
Extension Author (truncated) Version
format-json Cle 1.0.3
gitlens eam 17.6.1
yapf eey 2025.5.107163247
kotlin fwc 0.2.36
copilot Git 1.372.0
copilot-chat Git 0.32.0
Kotlin mat 1.7.1
git-graph mhu 1.30.0
vscode-containers ms- 2.2.0
debugpy ms- 2025.14.1
pylint ms- 2025.2.0
python ms- 2025.16.0
vscode-pylance ms- 2025.8.3
vscode-python-envs ms- 1.10.0
datawrangler ms- 1.22.0
jupyter ms- 2025.9.1
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.3.0
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
vsliveshare ms- 1.0.5959
autodocstring njp 0.6.1
bash-debug rog 0.3.9
A/B Experiments
vsliv368cf:30146710
pythonvspyt551:31249599
binariesv615:30325510
vscrpc:30673769
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
nes-set-on:31351930
testaa123:31335226
6abeh943:31336334
envsactivate1:31353494
0cj2b977:31352657
gendocstringt:31395207
cloudbuttont:31379625
todos-1:31390405
v66_all_req:31398803
treatment_gpt5applypatchexclusively:31398171
3efgi100_wstrepl:31382709
trigger-command-fix:31379601
auto_model_enabled:31385282
grok-control-prompt:31401224
use-responses-api:31390855
applesignin:31399435
9i271672:31399627
nes-subseq-delay-200:31400950
je187915:31401257

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugtriage-needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions