-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Increasingly duplicated conda / mamba / miniforge environments #22918
Comments
@karrtikr it sounds to me like that issue you mention is something else entirely. Furthermore, you can clearly see in my diagnostics that conda is detected. |
@irm-codebase Gotcha, I figured it was mamba related based on "mamba env list" you mentioned. If you find that a "conda" environment (listed via |
If that's the case please provide the debug logs which can help diagnose the issue:
Output for
|
Output for
|
@hologerry , can you please also provide the debug logs asked earlier? #22918 (comment) |
@irm-codebase @hologerry Please also make sure to open the list using |
I did do that... should I submit again? |
I see, it seemed like discovery didn't finish for you before the logs were captured. If its not too much trouble, can you try the refresh icon on top right to make sure discovery is triggered first? |
I've prepared a fix which very likely fixes the issue, please give it a try: https://github.com/microsoft/vscode-python/actions/runs/8045205090/artifacts/1274325464. You can use Make sure run |
@karrtikr Thank you! |
Ran the instructions, and now the environments seem to be behaving! Thank you for all the help @karrtikr ! |
…hon#22964) Failing tests are due to microsoft/vscode-python#22965, this can still be reviewed. Closes microsoft/vscode-python#22918 closes microsoft/vscode-python#22146
…hon#22964) Failing tests are due to microsoft/vscode-python#22965, this can still be reviewed. Closes microsoft/vscode-python#22918 closes microsoft/vscode-python#22146
Type: Bug
Behaviour
Expected vs. Actual
When selecting an interpreter, I expect conda environments (miniforge, in my case) to show only once. Instead, they are repeating two, three and now even five times.
Also, sometimes the python version will be displayed wrong (3.1.X).
mamba env list
works well in terminal (both within and outside VSCode), so I supsect this is a Python app issue.Steps to reproduce:
The number of environments will start being repeated.
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2024.0.1
VS Code version: Code 1.86.1 (31c37ee8f63491495ac49e43b8544550fbae4533, 2024-02-07T09:07:19.849Z)
OS version: Linux x64 6.7.4-200.fc39.x86_64
Modes:
System Info
canvas_oop_rasterization: disabled_off
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
Tasks
The text was updated successfully, but these errors were encountered: