Closed
Description
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:
- Open terminal (without python extenions)
- Run command
conda activate xxx
- Run command
which python
Tracked here #5344
Upstream issue microsoft/vscode#70248