-
Notifications
You must be signed in to change notification settings - Fork 30
Closed as not planned
Closed as not planned
Copy link
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from poster
Description
Type: Bug
Behaviour
It is expected to see intergrated terminal launched with conda env activated and with no more infomation, but:
- Command "/anaconda/Scripts/activate" and "conda activate envname" can be seen when intergrated terminal launched. (These couldn't be seen before)
- External cmdline popped up when "/anaconda/Scripts/activate" is processed. (Though it may seems normal when you try to do the same in any other terminal, these process couldn't be seen before and it is annoying, and i have already set "conda init" for pwsh)
Edit: It is also expected to keep conda env activated when vscode restart, but i need to restart terminal to recover. All of above problems except "/anaconda/Scripts/activate" also happened when using with wsl.
Steps to reproduce:
- Open a folder in VSCode
- Set a conda environment for the workspace
- Open the intergated terminal and you can see what happens
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
2025-07-20 10:34:29.182 [info] 试验“pythonTerminalEnvVarActivationcf”处于活动状态
2025-07-20 10:34:29.182 [info] Native locator: Refresh started
2025-07-20 10:34:29.768 [info] > pyenv which python
2025-07-20 10:34:29.768 [info] cwd: .
2025-07-20 10:34:29.894 [info] > conda info --json
2025-07-20 10:34:29.959 [info] Conda environment manager found at: D:\anaconda\Scripts\conda.exe
2025-07-20 10:34:29.959 [info] Using conda: D:\anaconda\Scripts\conda.exe
2025-07-20 10:34:33.044 [info] Native locator: Refresh finished in 4853 ms
2025-07-20 10:34:33.087 [info] > D:\anaconda\Scripts\conda.exe info --json
2025-07-20 10:34:35.964 [info] Python 解释器路径: D:\anaconda\envs\Practice\python.exe
2025-07-20 10:34:37.146 [info] 正在启动 Pylance 语言服务器。
2025-07-20 10:34:38.588 [info] Send text to terminal: D:/anaconda/Scripts/activate
2025-07-20 10:34:39.091 [info] Send text to terminal: conda activate Practice
Extension version: 2025.10.0
VS Code version: Code 1.102.1 (7adae6a56e34cb64d08899664b814cf620465925, 2025-07-15T16:41:17.147Z)
OS version: Windows_NT x64 10.0.26100
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.23
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
- Value of the
python.languageServersetting: Default
User Settings
languageServer: "Pylance"
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| arm | dan | 1.7.4 |
| autopep8 | ms- | 2025.2.0 |
| background | sha | 2.0.3 |
| better-cpp-syntax | jef | 1.27.1 |
| black-formatter | ms- | 2025.2.0 |
| codespaces | Git | 1.17.3 |
| copilot | Git | 1.344.0 |
| copilot-chat | Git | 0.29.1 |
| cortex-debug | mar | 1.12.1 |
| cpptools | ms- | 1.26.3 |
| cpptools-extension-pack | ms- | 1.3.1 |
| cpptools-themes | ms- | 2.0.0 |
| darkpp-italic | idb | 0.2.1 |
| data-workspace-vscode | ms- | 0.6.3 |
| datawrangler | ms- | 1.22.0 |
| debug-tracker-vscode | mcu | 0.0.15 |
| debugpy | ms- | 2025.10.0 |
| doxdocgen | csc | 1.4.0 |
| emoji-icons | mig | 1.6.1 |
| eva-theme | fis | 2.7.9 |
| github-vscode-theme | Git | 6.3.5 |
| gnu-mapfiles | tro | 1.1.0 |
| gruvbox | jdi | 1.28.0 |
| hexeditor | ms- | 1.11.1 |
| horizon-theme-vscode | ale | 1.0.1 |
| html-preview-vscode | geo | 0.2.5 |
| icons-carbon | ant | 0.2.6 |
| intellicode-api-usage-examples | Vis | 0.2.9 |
| isort | ms- | 2025.0.0 |
| java | red | 1.43.1 |
| js-debug | ms- | 1.102.0 |
| js-debug-companion | ms- | 1.1.3 |
| jupyter | ms- | 2025.6.0 |
| jupyter-keymap | ms- | 1.1.2 |
| jupyter-renderers | ms- | 1.3.0 |
| keil-assistant | cl | 1.7.0 |
| latex-workshop | Jam | 10.10.0 |
| linkerscript | Zix | 1.0.4 |
| macos-modern-theme | dav | 2.3.19 |
| markdown-preview-enhanced | shd | 0.8.18 |
| material-icon-theme | PKi | 5.24.0 |
| material-product-icons | PKi | 1.7.1 |
| material-theme | zhu | 3.19.0 |
| memory-view | mcu | 0.0.25 |
| moegi-theme | ddi | 0.7.1 |
| monochrome | ano | 2.4.3 |
| mssql | ms- | 1.33.0 |
| night-owl | sdr | 2.1.1 |
| peripheral-viewer | mcu | 1.4.6 |
| prettier-vscode | esb | 11.0.0 |
| pyqt-integration | zho | 0.2.0 |
| python | ms- | 2025.10.0 |
| rainbow-csv | mec | 3.20.0 |
| remote-explorer | ms- | 0.5.0 |
| remote-ssh | ms- | 0.120.0 |
| remote-ssh-edit | ms- | 0.87.0 |
| remote-wsl | ms- | 0.99.0 |
| rose-pine | mvl | 2.14.0 |
| rtos-views | mcu | 0.0.7 |
| sequoia | wic | 1.31.0 |
| sql-bindings-vscode | ms- | 0.4.1 |
| sql-database-projects-vscode | ms- | 1.5.3 |
| Theme-MarkdownKit | ms- | 0.1.4 |
| theme-panda | tin | 1.4.0 |
| theme-vitesse | ant | 0.8.3 |
| vscode-eslint | dba | 3.0.10 |
| vscode-fix-checksums-next | Rim | 1.4.0 |
| vscode-gradle | vsc | 3.16.4 |
| vscode-java-debug | vsc | 0.58.2 |
| vscode-java-dependency | vsc | 0.24.1 |
| vscode-java-pack | vsc | 0.29.2 |
| vscode-java-test | vsc | 0.43.1 |
| vscode-jetbrains-icon-theme | cha | 2.33.0 |
| vscode-js-profile-table | ms- | 1.0.10 |
| vscode-jupyter-cell-tags | ms- | 0.1.9 |
| vscode-jupyter-powertoys | ms- | 0.1.1 |
| vscode-jupyter-slideshow | ms- | 0.1.6 |
| vscode-language-pack-zh-hans | MS- | 1.102.2025071609 |
| vscode-maven | vsc | 0.44.0 |
| vscode-office | cwe | 3.5.4 |
| vscode-pylance | ms- | 2025.6.2 |
| vscode-sqlite | ale | 0.14.1 |
| vscodeintellicode | Vis | 1.3.2 |
| webstorm-icons | pms | 1.0.0 |
| win-opacity | ska | 1.1.7 |
| winteriscoming | joh | 1.4.4 |
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 7 6800H with Radeon Graphics (16 x 3194) |
| 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) | 15.25GB (2.76GB free) |
| Process Argv | --crash-reporter-id bba39a52-efa9-4055-b69e-131b7b2f071c |
| Screen Reader | no |
| VM | 25% |
A/B Experiments
vsliv368:30146709
vswsl492cf:30256860
binariesv615:30325510
vscrp:30673768
0bi6i642:31350688
h48ei257:31000450
nativeloc1:31344060
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
hdaa2157:31222309
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
c7cif404:31314491
pythonpulldiag:31343502
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
747dc170:31275177
6518g693:31334701
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
pylancequickfixf:31350060
9d2cg352:31346308
convertlamdaf:31350062
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31350861
nes-diff-11:31337487
replacestringexc:31350595
6abeh943:31336334
yijiwantestdri0626-c:31336931
0927b901:31350571
ji9b5146:31348712
0cj2b977:31350606
05h3e699-none:31350620
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from poster