microsoft / microsoft/vscode-python-environments

Can not select conda Python evironment as Python interpreter

Aperta
#1,446 2 commenti 1 reazione 1 assegnatario Vedi su GitHub

@StellaHuang95 ci sta già lavorando.

Dal 8/4/2026.

Lingua principale
TypeScript
Stelle
138
Fork
62
Merge medio
1g 4h
PR unite (30g)
35

Descrizione

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,

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.