Skip to content

Python Environments extension doesn't discover venvs in python.venvPath (~/.virtualenvs) #1254

@gpwatsona

Description

@gpwatsona

Description

After enabling the Microsoft "Python Environments" extension (it actually enabled itself), my virtualenvwrapper envs in ~/.virtualenvs no longer appear in the VS Code interpreter list. Only Homebrew global Python installs show up.

Disabling the Microsoft extension and re-enabling the deprecated "Python Environment Manager" (donjayamanne) restores discovery of all venvs.

Expected behavior

All envs under python.venvPath should appear in the interpreter dropdown.

Actual behavior

Only global Homebrew interpreters appear. Venvs under ~/.virtualenvs are missing.

Repro steps

  1. Set "python.venvPath": "/Users//.virtualenvs"
  2. Ensure multiple venvs exist there (virtualenvwrapper style)
  3. Enable "Microsoft Python Environments" extension
  4. Reload VS Code
  5. Open "Python: Select Interpreter"

Workaround

Disable Microsoft Python Environments extension and enable deprecated "Python Environment Manager".

Environment

  • OS: macOS
  • VS Code: 1.109.5 (Universal)
  • Python extension: ms-python.python@2026.2.0
  • Python Environments extension: ms-python.vscode-python-envs@1.16.0
  • Pylance: ms-python.vscode-pylance@2026.1.1

Settings

"python.venvPath": "/Users//.virtualenvs"

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