Skip to content

Unable to activate conda python environment #25275

@ArnoldRay

Description

@ArnoldRay

Type: Bug

Even though the selected conda environment has been displayed in the console, it is actually always the base environment

Run Python File in Terminal is also not correct. It has always been in the base environment

Extension version: 2025.10.0
VS Code version: Code 1.102.0 (cb0c47c0cfaad0757385834bd89d410c78a856c0, 2025-07-09T22:10:34.600Z)
OS version: Windows_NT x64 10.0.26100
Modes:

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


languageServer: "Pylance"

terminal
• executeInFileDir: "<placeholder>"

Installed Extensions
Extension Name Extension Id Version
better-comments aar 3.0.2
Bookmarks ale 13.5.0
code-runner for 0.12.2
debugpy ms- 2025.10.0
git-graph mhu 1.30.0
gitlens eam 17.3.0
js-debug ms- 1.102.0
js-debug-companion ms- 1.1.3
json Zai 2.0.2
material-icon-theme PKi 5.24.0
material-theme zhu 3.19.0
prettify whi 0.0.3
project-manager ale 12.8.0
python ms- 2025.10.0
tongyi-lingma Ali 2.5.15
var-translate-en Wan 1.1.4
vscode-filesize mkx 3.2.2
vscode-js-profile-table ms- 1.0.10
vscode-language-pack-zh-hans MS- 1.97.2025021209
vscode-pylance ms- 2025.6.2
vscode-thunder-client ran 2.35.3
System Info
Item Value
CPUs Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3696)
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) 31.94GB (18.42GB free)
Process Argv --crash-reporter-id fd60794d-d801-42fc-9b93-fae9589ce1ee
Screen Reader no
VM 67%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
cppperfnew:31000557
dwnewjupyter:31046869
nativeloc1:31344060
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
9064b325:31222308
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
c7cif404:31314491
pythonpulldiag:31343502
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
9d2cg352:31339597
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31335815
4f60g487:31327383
nes-diff-11:31337487
63221493:31336333
yijiwantestdri0626-c:31336931
4gdec884:31342391

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from postertriage-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