Skip to content

Duplicate the interpreter path after switch Python environment. #24318

@linette-zyy

Description

@linette-zyy

Environment data

  • Pylance version: v2024.10.100 (pre-release)
  • Python version: v2024.17.2024101501 (pre-release)
  • Visual Studio Code - Insiders: 1.95.0-insider

Repro Steps

  1. Install different version Python
  2. Open a folder and add a python file
  3. Click the lower right corner to switch different Python
    Image

Actual behavior

After switch another python. The interpreter path was duplicated
Image

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked onverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions