-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Type: Bug
Behaviour
After installing the Python Environments extension VSCode will forget the selected interpreter for a workspace after reloading the window.
Steps to reproduce:
- Open a project.
- Select an interpreter for the project.
- Reload VSCode. The selected interpreter is now the default one and not the one selected in 2).
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX
Extension version: 2025.8.0
VS Code version: Code 1.101.2 (Universal) (2901c5ac6db8a986a5666c3af51ff804d05af0d4, 2025-06-24T20:27:15.391Z)
OS version: Darwin arm64 24.5.0
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.12.8
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
- Value of the
python.languageServersetting: Default
User Settings
languageServer: "Pylance"
testing
• promptToConfigure: false
• autoTestDiscoverOnSaveEnabled: false
terminal
• activateEnvironment: false
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| code-spell-checker | str | 4.0.47 |
| commitlint | jos | 2.6.2 |
| copilot | Git | 1.338.0 |
| copilot-chat | Git | 0.28.5 |
| cpptools | ms- | 1.26.3 |
| debugpy | ms- | 2025.8.0 |
| emojisense | bie | 0.10.0 |
| errorlens | use | 3.26.0 |
| file-tree-extractor | Fuz | 1.3.2 |
| fish-vscode | sky | 0.2.1 |
| fluent-icons | mig | 0.0.19 |
| github-vscode-theme | Git | 6.3.5 |
| gitlens | eam | 17.2.2 |
| js-debug | ms- | 1.100.1 |
| js-debug-companion | ms- | 1.1.3 |
| jupyter | ms- | 2025.5.0 |
| jupyter-keymap | ms- | 1.1.2 |
| jupyter-renderers | ms- | 1.1.0 |
| latex-workshop | Jam | 10.10.0 |
| less-toml | jug | 0.6.0 |
| live-server | ms- | 0.4.15 |
| material-icon-theme | PKi | 5.24.0 |
| myst-highlight | Exe | 0.11.0 |
| path-intellisense | chr | 2.10.0 |
| prettier-vscode | esb | 11.0.0 |
| psi-header | psi | 1.25.1 |
| python | ms- | 2025.8.0 |
| remote-explorer | ms- | 0.5.0 |
| remote-server | ms- | 1.5.2 |
| remote-ssh | ms- | 0.120.0 |
| remote-ssh-edit | ms- | 0.87.0 |
| rewrap | stk | 1.16.3 |
| ruff | cha | 2025.24.0 |
| rust-analyzer | rus | 0.3.2519 |
| rust-syntax | dus | 0.6.1 |
| simple-rst | tro | 1.5.4 |
| vsc-python-indent | Kev | 1.21.0 |
| vscode-coverage-gutters | rya | 2.13.0 |
| vscode-css-modules | and | 1.2.3 |
| vscode-css-modules | cli | 0.5.4 |
| vscode-duplicate | mrm | 1.2.1 |
| vscode-eslint | dba | 3.0.10 |
| vscode-github-actions | git | 0.27.2 |
| vscode-gitignore-generator | pio | 1.0.3 |
| vscode-js-profile-table | ms- | 1.0.10 |
| vscode-jupyter-cell-tags | ms- | 0.1.9 |
| vscode-jupyter-slideshow | ms- | 0.1.6 |
| vscode-lldb | vad | 1.11.5 |
| vscode-markdownlint | Dav | 0.60.0 |
| vscode-open-in-github | fab | 2.3.1 |
| vscode-postcss | vun | 2.0.2 |
| vscode-pull-request-github | Git | 0.112.0 |
| vscode-pylance | ms- | 2025.6.2 |
| vscode-toggle-quotes | Bri | 0.3.6 |
| vscode-yaml | red | 1.18.0 |
| zoombar-vscode | wra | 1.4.4 |
System Info
| Item | Value |
|---|---|
| CPUs | Apple M4 Pro (14 x 2400) |
| 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: enabled_on video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | 3, 2, 2 |
| Memory (System) | 24.00GB (0.10GB free) |
| Process Argv | --crash-reporter-id 494ca41f-ef0e-4f0f-8833-1eac378f9e44 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
2e7ec940:31000449
cppperfnew:31000557
dwnewjupytercf:31046870
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
4gafe986:31271826
c7cif404:31314491
pythonpulldiagcf:31335740
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
pylancequickfixf:31329273
j6a0c355:31339598
d2249276:31341129
i851h500:31338111
usemarketplace:31336439
nesew2to5:31336538
agentclaude:31335814
nes-diff-11:31337487
nes-set-on:31340697
onetestforazureexpcf:31335614
6abeh943:31336334
yijiwantestdri0626-c:31336931
andre-dasilva, EvensXia, rayosborn, pp253 and jtele2
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug