Skip to content

Breaks python locator on mapped drives in Windows #888

Closed

Description

Hello,

The addition of Python Environments prevents the python extension (as well as vscode/select interpreter) from recognizing virtual conda environments on mapped drives. This feature is currently enabled by setting Python Locator to 'js', from native. Uninstalling Python Environments resolves the issue.

See also: microsoft/python-environment-tools#194

With Python Environments:

Image

After uninstalling:

Image

Activity

  1. eleanorjboyd commented on Oct 3, 2025

    @eleanorjboyd
    Contributor

    Thanks for the issue report- will have to review to make sure the envs ext supports "virtual conda environments on mapped drives"

  2. eleanorjboyd commented on Oct 3, 2025

    @eleanorjboyd
    Contributor

    Can you try running:

    1. "Python: Run Python Environment Tool (PET) in Terminal..." and do discovery, see if the env you want is there
    2. given the env you want, go to "Python: Run Python Environment Tool (PET) in Terminal..." and select "resolve" and paste it there. Does it resolve to a different path than suggested?
  3. arthurgailes commented on Oct 6, 2025

    @arthurgailes
    Author

    It produces an error.

     "L:\DataSets9\arthur\programs\VSCode-win32-x64-1.104.3\data\extensions\ms-python.v
    scode-python-envs-1.8.0-win32-x64\python-env-tools\bin\pet.exe" find --verbose
    At line:1 char:147
    + ... ython-envs-1.8.0-win32-x64\python-env-tools\bin\pet.exe" find --verbo ...
    +                                                              ~~~~
    Unexpected token 'find' in expression or statement.
        + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
        + FullyQualifiedErrorId : UnexpectedToken
    
  4. arthurgailes commented on Jan 7, 2026

    @arthurgailes
    Author

    bumping

  5. eleanorjboyd commented on Feb 6, 2026

    @eleanorjboyd
    Contributor

    Hi! This should be fixed on the newest pre-release of the python environments extension! If you can make sure you are on the pre-release and give it a try to let us know if it works that would be extremely helpful! Thank you

  6. arthurgailes commented on Feb 9, 2026

    @arthurgailes
    Author

    Eleanor Boyd (@eleanorjboyd) I installed 1.16 pre-release and saw now change - installing the extension prevents VScode from finding interpreters on the mapped drive.

  7. karthiknadig commented on Feb 10, 2026

    @karthiknadig
    Member

    Arthur Gailes (@arthurgailes) the latest is actually 1.17.10401013 . You may need to update to latest VS Code.

  8. eleanorjboyd commented on Feb 11, 2026

    @eleanorjboyd
    Contributor

    we now have 1.18.1 and a 1.19.xxx pre-release

  9. locked as resolved and limited conversation to collaborators on Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priority

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions