-
Notifications
You must be signed in to change notification settings - Fork 41
VSCODE_PYTHON_BASH_ACTIVATE use anaconda activate.bat #1061
Copy link
Copy link
Closed as not planned
Labels
area-activationIssue related to activation. Root cause can be from interpreter selection or activation in terminalIssue related to activation. Root cause can be from interpreter selection or activation in terminalarea-terminalEnvironment extension specific terminal issues.Environment extension specific terminal issues.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from poster
Metadata
Metadata
Assignees
Labels
area-activationIssue related to activation. Root cause can be from interpreter selection or activation in terminalIssue related to activation. Root cause can be from interpreter selection or activation in terminalarea-terminalEnvironment extension specific terminal issues.Environment extension specific terminal issues.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from poster
Type: Bug, Automated-Code-Filling-Errors
Behaviour
the following issues occur with
git-bashin vscode integrated terminal----------------------------
bash: *:**/Anaconda/Scripts/activate.bat: line 1: syntax error near unexpected token `('
bash: *:**/Anaconda/Scripts/activate.bat: line 1: `:: Copyright (C) 2012 Anaconda, Inc'
* VS Code Python bash activation failed with exit code 0
----------------------------
Steps to reproduce
settings.jsonset{ "python.useEnvironmentsExtension": true, "python-envs.terminal.autoActivationType": "shellStartup", }git-bashpromptVSCODE_PYTHON_BASH_ACTIVATE=source *:**/Anaconda/Scripts/activate.bat ***-envwill be filled byms-python.vscode-python-envsExtension version: 1.14.0
VS Code version: Code 1.107.0 (618725e67565b290ba4da6fe2d29f8fa1d4e3622, 2025-12-10T07:43:47.883Z)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off