forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
microsoft/vscode-python-environments
#648Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
Behaviour
- conda use wrong
conda-hook.ps1. I use miniforge3 and then if i dont set theconda pathin the settings, then it just use a wrong path like this
yushihang D:\codes\Python\MyBERTTFBS pwsh 13:22
❯ (& D:\softwares\miniforge3\Library\shell\condabin\conda-hook.ps1) ; (conda activate DNABERT)
&: The term 'D:\softwares\miniforge3\Library\shell\condabin\conda-hook.ps1' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
yushihang D:\codes\Python\MyBERTTFBS DNABERT 3.12.11 pwsh 13:22
- click run python button top right, the outputs in terminal will be refreshed
all issue gif is here
Steps to reproduce:
wrong conda-hook.ps1 issue
- Install miniforge3 and do not add PATH environment
- conda init powershell
- install vscode python extension and dont change anything
- open a terminal
outputs are refreshed issue
- click the button
- the outputs show up in the terminal then refreshed
Extension version: 2025.10.1
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.12.10
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
- Value of the
python.languageServersetting: Default
User Settings
languageServer: "Pylance"
terminal
• activateEnvironment: false
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| debugpy | ms- | 2025.10.0 |
| even-better-toml | tam | 0.21.2 |
| 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 |
| material-icon-theme | PKi | 5.24.0 |
| material-product-icons | PKi | 1.7.1 |
| material-theme | zhu | 3.19.0 |
| python | ms- | 2025.10.1 |
| vscode-js-profile-table | ms- | 1.0.10 |
| vscode-jupyter-cell-tags | ms- | 0.1.9 |
| vscode-jupyter-slideshow | ms- | 0.1.6 |
| vscode-language-pack-zh-hans | MS- | 1.102.2025071609 |
| vscode-pylance | ms- | 2025.6.2 |
| vscode-python-envs | ms- | 1.0.0 |
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 7 7700 8-Core Processor (16 x 3793) |
| 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.12GB (23.16GB free) |
| Process Argv | --crash-reporter-id d1403260-6788-4ef4-8d3c-80cd24e4913a |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
h48ei257:31000450
nativeloc1:31344060
dwcopilot:31170013
471b6256:31263136
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
pylancequickfixf:31350060
9d2cg352:31346308
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31335814
nes-diff-11:31337487
replacestringexc:31350595
nes-set-on:31340697
6abeh943:31336334
envsactivate1:31352070
yijiwantestdri0626-t:31336930
0927b901:31350571
ji9b5146:31348712
0cj2b977:31352657
Metadata
Metadata
Assignees
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
