microsoft / microsoft/vscode-python-environments

Can not select conda Python evironment as Python interpreter

Open
#1,446 2 comments 1 reaction 1 assignee View on GitHub

@StellaHuang95 is already working on this.

Since Apr 8, 2026.

Dominant language
TypeScript
Stars
138
Forks
62
Avg merge
1d 4h
Merged PRs (30d)
35

Description

Hi,
I open this issue as a follow up of [this issue](https://github.com/microsoft/vscode-python/issues/25814#issuecomment-4179181041).

When I try to select my conda environment in `Python: Select Interpreter`. It looks like it's not actually switching the interpreter.
The conda environment I would like select is `base (3.12.7) ~/miniconda3/bin/python`.
The environment in which the interpreter is "stuck" is `Python 3.12.3 /usr/bin/python`.

In the example below, plotly is installed only in the `base` environment.
It looks like it can't find plotly which makes me suspect that the interpreter is not actually changed.

Image

Strangely, in the `Select Interpreter` menu, the grayed out text is actually correct.

Image

So I'm not exactly sure what's going on but it would useful if my packages would be found again.
I'm on Ubuntu and I installed the pre-release version of Python environments (`1.27.10931008`) within code-insiders.

Many thanks,

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.