-
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
conda env can not be autoactivated #24637
Comments
@SESProMax Can you share the logs from Output>Python? |
@karthiknadig EnvironmentLocationNotFound: Not a conda environment: /home/bat/miniconda3/envs/.conda
code: 1, |
@SESProMax Please try the pre-release version of Python extension it has a fix for this bug. You can do this from the extension view, just click on "Switch to pre-release version" |
thanks, that's worked. |
Hello, Its me again. There is still the same problem, but on windows this time.
|
@karthiknadig Changing the version of the Python extension or the shell does not make any difference. |
Type: Bug
linux Ubuntu or fedora, default setting.
from python log, we can know python tool have not correctly handle the conda env path "./.conda":
I have try to turn on or off terminal.integrated.inheritEnv, that will change the base path between "
/" and "/miniconda3/envs/", but both of them were incorrect.Extension version: 2024.22.0
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Linux x64 6.8.0-51-generic
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: