You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open directory/project with conda virtual environment created
VS Code properly recognizes this env and I see in bottom left corner 3.2.17('conda') and if I run the any python code from VS it runs indeed in its environment
However the terminal (Powershell) is completely unaware. Running "python --version" show the system-wide python not the conda env one. Also running "conda" or "jupyter notebook" reports command not found
It used to work earlier this year and it stopped with one of the recent updates. Please note I do not have this problem with venv (it activates perfectly in the terminal as well.
The only workround is to launch first Anaconda prompt, activate the conda environment in my target directory and then typing "code ." so launching VSCode from the Anaconda command prompt.
However this is mess. I would like my old, easier way to start working again. If I have anything wrong in the config, please let me know.
Here is the screenshot. Again, it used to work great like with venv.
VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Type: Bug
It used to work earlier this year and it stopped with one of the recent updates. Please note I do not have this problem with venv (it activates perfectly in the terminal as well.
The only workround is to launch first Anaconda prompt, activate the conda environment in my target directory and then typing "code ." so launching VSCode from the Anaconda command prompt.
However this is mess. I would like my old, easier way to start working again. If I have anything wrong in the config, please let me know.
Here is the screenshot. Again, it used to work great like with venv.
VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
Modes:
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
Extensions (13)
A/B Experiments
The text was updated successfully, but these errors were encountered: