Skip to content

Conda activation does not work in Terminal #5764

Closed
@DonJayamanne

Description

@DonJayamanne

Environment data

  • VS Code version: Stable/Insiders
  • Extension version (available under the Extensions sidebar): N/A
  • OS and version: Mac
  • Python version (& distribution if applicable, e.g. Anaconda): Anaconda 4.6
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Conda
  • Relevant/affected Python packages and their versions: N/A

Expected behaviour

When a conda environment activated using conda activate xxx, then using python xxx will point to the activated environment.

Actual behaviour

Even though a conda environment has been activated, which python will point to the wrong environment.

Steps to reproduce:

  1. Open terminal (without python extenions)
  2. Run command conda activate xxx
  3. Run command which python

Tracked here #5344
Upstream issue microsoft/vscode#70248

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-terminalbugIssue identified by VS Code Team member as probable bugregressionBug didn't exist in a previous release

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions