Skip to content
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 environment activation does not respect settings #24686

Open
AWH1122 opened this issue Jan 3, 2025 · 1 comment
Open

Conda environment activation does not respect settings #24686

AWH1122 opened this issue Jan 3, 2025 · 1 comment
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@AWH1122
Copy link

AWH1122 commented Jan 3, 2025

Type: Bug

Conda environment keeps activating even after disabling all related settings.

I have set "python.terminal.activateEnvironment": false in every scope as well as "python.terminal.activateEnvInCurrentTerminal": false.

all my conda environments have auto_activate_base set to false.

I have commented-out the conda init block in my zsh shell.

Conda is still automatically activated whenever I open a new integrated terminal.

VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2

System Info
Item Value
CPUs AMD Ryzen 9 3900X 12-Core Processor (24 x 3793)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 31.92GB (16.72GB free)
Process Argv --crash-reporter-id 672d1eda-f4ea-4625-a978-6966492cb88b
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.15.167.4-microsoft-standard-WSL2
CPUs AMD Ryzen 9 3900X 12-Core Processor (24 x 0)
Memory (System) 15.58GB (13.33GB free)
VM 0%
Extensions (25)
Extension Author (truncated) Version
vsc-python-indent Kev 1.19.0
jupyter-keymap ms- 1.1.2
remote-wsl ms- 0.88.5
vscode-speech ms- 0.12.1
material-icon-theme PKi 5.16.0
ruff cha 2024.56.0
path-intellisense chr 2.10.0
copilot Git 1.254.0
copilot-chat Git 0.23.2
vscode-clangd llv 0.1.33
debugpy ms- 2024.14.0
python ms- 2024.22.1
vscode-pylance ms- 2024.12.1
datawrangler ms- 1.14.0
jupyter ms- 2024.11.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.21
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
cpptools ms- 1.22.11
resourcemonitor mut 1.0.7
sourcery sou 1.28.0
cmantic tde 0.9.0
intellicode-api-usage-examples Vis 0.2.9
vscodeintellicode Vis 1.3.2

(2 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551cf:31179979
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

@AWH1122
Copy link
Author

AWH1122 commented Jan 3, 2025

I have just found out that if I go into a workspace with python files the setting is respected. However, if I go into a workspace with no Python files (I tested in a c++ workspace) the setting is not respected.

@kieferrm kieferrm assigned karthiknadig and unassigned meganrogge Jan 3, 2025
@karthiknadig karthiknadig transferred this issue from microsoft/vscode Jan 6, 2025
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants