Skip to content

Terminal activates conda environment even when python.terminal.activateEnvironment is false #25838

Description

VS Code version: Latest (2026)
Python extension version: 2026.2.0
OS: Windows

Problem: Despite setting
python.terminal.activateEnvironment: false in settings.json, the Python extension still automatically activates the selected Conda environment in the integrated terminal upon opening.

Steps to reproduce:

  1. Set \python.terminal.activateEnvironment: false in VS Code user settings.
  2. Select a Conda environment's Python interpreter in VS Code.
  3. Open a new integrated terminal.
  4. The terminal activates the selected Conda environment automatically.

Expected behavior: The terminal should not activate any Conda environment when the setting is false.

Actual behavior: The terminal activates the selected Conda environment regardless of the setting.

This issue persists even after clearing cache, refreshing interpreters, and restarting VS Code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-terminalbugIssue identified by VS Code Team member as probable bugconfirmation pendingThe issue needs to be confirmed through a maintainer reproducing the bug.info-neededIssue requires more information from poster

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions