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
When using the vs code integrated git bash terminal in windows, the conda environment doesn't seem to load properly. If I open the stand-alone "git bash" windows terminal application everything works correctly. it's only on the integrated one that I get this error:
$ conda info
bash: C:\ProgramDatanaconda3\Scripts: No such file or directory
I confirmed my ~/.bash_profile has the correct conda initialization script.
Steps to reproduce:
In Windows, Install VS Code version 1.92.2
Install Anaconda3 2024.02-1
In a git bash window (external to vs code), type conda init. It all configures correctly.
In VS code, open a new git bash terminal by clicking the + icon or selecting the command "Python: Create Terminal"
Type conda info, see error.
Diagnostic data
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 version (& distribution if applicable, e.g. Anaconda): 3.11.7
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
Value of the python.languageServer setting: Default
Type: Bug
Behaviour
When using the vs code integrated git bash terminal in windows, the conda environment doesn't seem to load properly. If I open the stand-alone "git bash" windows terminal application everything works correctly. it's only on the integrated one that I get this error:
I confirmed my
~/.bash_profile
has the correct conda initialization script.Steps to reproduce:
conda init
. It all configures correctly.conda info
, see error.Diagnostic data
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: