Skip to content

"select python environment" has two "base" environment #24889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Saltsmart opened this issue Feb 16, 2025 · 8 comments
Closed

"select python environment" has two "base" environment #24889

Saltsmart opened this issue Feb 16, 2025 · 8 comments
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@Saltsmart
Copy link

Type: Bug

  1. Create an environment with a prefix (in my case, it's "E:/tool")
  2. When executing "conda env list" command, it shows normally as "e:\tool".
  3. But in "select kernel" for Jupyter, it's not.

Extension version: 2024.11.0
VS Code version: Code 1.97.2 (e54c774e0add60467559eb0d1e229c6452cf8447, 2025-02-12T23:20:35.343Z)
OS version: Windows_NT x64 10.0.22000
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)
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) 7.85GB (0.69GB free)
Process Argv --log ms-python.python=trace --crash-reporter-id deaad0bf-2897-480e-b8cf-04d2a61dc2e3
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputscf:31238124
customenabled:31237564
5a9hg449:31230677
hdaa2157:31222309
copilot_t_ci:31222730
cp15172_t:31236638
jda6j935:31233686

@DonJayamanne
Copy link

What do you get when you use the command ‘Python: Select Interpreter’
Do you see duplicate there as well?

@DonJayamanne DonJayamanne self-assigned this Feb 16, 2025
@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Feb 16, 2025
@Saltsmart
Copy link
Author

Image

What do you get when you use the command ‘Python: Select Interpreter’ Do you see duplicate there as well?

Yes, just the same.

@Saltsmart
Copy link
Author

Image

The conda env list has no problem.

@leosongwei

This comment has been minimized.

@DonJayamanne
Copy link

This issue is caused by the python extension, hence transferring this there

@leosongwei please can you create a separate issue, your question isn’t related to this ISPs

@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-jupyter Mar 9, 2025
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Mar 9, 2025
@DonJayamanne
Copy link

@Saltsmart play can you install the latest versions of vscode, Jupyter and Python extension and let me know if this works

@karthiknadig
Copy link
Member

@DonJayamanne This occurs due to microsoft/python-environment-tools#184 .

@Saltsmart CAn you verify that the environment under E:\tool has conda installed in it.

@Saltsmart
Copy link
Author

@DonJayamanne I've switched to micromamba before your reply, because my conda was broken due to updating. Now it is OK with the latest versions of vscode, Jupyter and Python extension.
@karthiknadig I check the archive of this environment. It may be true since there is a conda.bat.

Image

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

4 participants