Skip to content

Extension Prevents Interpreter Selection #779

@dtlnor

Description

@dtlnor

Despite selecting a specific Python interpreter for my workspace, the extension continues to override my choice.

It repeatedly displays a message claiming that it has selected the correct interpreter, but in reality, it hasn’t. (bottom right)
Image

My global interpreter is set to Python 3.12, but I’ve explicitly chosen Python 3.11.1 for my workspace.
Files within the workspace folder correctly use the selected interpreter. (3.11.1)
Files outside the workspace folder are forcibly run using the global interpreter. (3.12)

This inconsistent behavior is confusing and makes it difficult to manage multiple environments effectively.

Component Version
Pylance 2025.7.1
Python Extension 2025.12.0
Python Debugger 2025.10.0
Python Environments 1.2.0
VS Code 1.103.2
OS Windows 22H2 (19045.5371)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions