-
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
Anaconda environments listed as 'base' #23954
Comments
Hello @Flottrant Thank you for filing this issue.
in your settings.json and see if you can repro the same problem? |
Hello @anthonykim1, |
@Flottrant Hello, when you search your setting and search 'native locator', is that set to native or js? |
It is set to js |
Setting it to native reproduced the issue. |
Hi, I'm having the same issue with the latest versions of vscode and this extension. It seems like a regression. I have set to native and js and get the same results for both (although not sure if one time choice of native causes this issue to persist). Please look into the issue of all anaconda environments being called "base", thank you! |
@karthiknadig I think you would have better context of how conda environments get differentiated in the select interpreter listing. |
We did a bunch of fixes for this recently so this should be addressed, if that is not the case please file a new bug with the logs from Output > Python locator, and screen shot of the interpreters list where envs are incorrectly marked as base |
Type: Bug
Behaviour
Most of the conda environments in the automatic environment detection are listed as 'base' even though they show the correct path to the environment.
The VSCode terminal then only activates the actual conda base environment in the console.
Environments work correctly in independent terminals.
Steps to reproduce:
Python: Select Interpreter
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.12.3
VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Windows_NT x64 10.0.22631
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
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
A/B Experiments
The text was updated successfully, but these errors were encountered: