Skip to content

Windows Store install of Python does not show up in status bar #5926

Closed

Description

While the symlink we find and list in the interpreter list is C:\Users\brcan\AppData\Local\Microsoft\WindowsApps\python3.7, the actual executable is C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.7_3.7.1008.0_x64__qbz5n2kfra8p0\\python.exe which we don't have access to (triggers an EPERM when trying to query the interpreter for details because we directly execute the latter path and not the former which what we send to the terminal).

Activity

  1. DonJayamanne commented on Jun 12, 2019

    @DonJayamanne

    Prescribed solution:

    const pythonPathFromProcExec = this.procService.exec(....)
    if (pythonPath.contains('Program Files\\WindowsApps') && this.pythonPath is a fully qualified path {
        // return existing value for pythoNPath
        return this.pythonPath;
    }
    return pythonPathFromProcExec;
    
    • And make sure not to list the Program Files\WindowsApps option.
  2. brettcannon commented on Jun 26, 2019

    @brettcannon
    MemberAuthor

    And make sure not to list the Program Files\WindowsApps option.

  3. karrtikr commented on Sep 19, 2019

    @karrtikr

    validated

  4. locked as resolved and limited conversation to collaborators on Sep 26, 2019
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 bugwindows

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions