Skip to content

Python Manager Installation Path & py Launcher Inconsistency #226

Description

@m-asadullah
Image

Python Manager installed from Microsoft Store

C:\Users\<UserName>\Downloads>where py
INFO: Could not find files for the given pattern(s).

C:\Users\<UserName>\Downloads>py list
'py' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\<UserName>\Downloads>where python
C:\Users\<UserName>\AppData\Local\Python\bin\python.exe

C:\Users\<UserName>\Downloads>python --version
Python 3.14.0

Warning

After installation python found but not py

C:\Users\<UserName>\AppData\Local\Packages\PythonSoftwareFoundation.PythonManager_*>tree /f
C:.
├───AC
│   └───Temp
├───AppData
├───LocalCache
├───LocalState
├───RoamingState
├───Settings
│       roaming.lock
│       settings.dat
│
├───SystemAppData
│   └───Helium
└───TempState

C:\Users\<UserName>\AppData\Local\Packages\PythonSoftwareFoundation.PythonManager_*>

The Python Manager open from here in new location,

Caution

This version-oriented location will change in every update so need to add new versioned path to Environment Variables manually.

C:\Program Files\WindowsApps\PythonSoftwareFoundation.PythonManager_25.0.240.0_x64__*>tree /f
C:.
│   AppxBlockMap.xml
│   AppxManifest.xml
│   AppxSignature.p7x
│   py-manager.exe
│   py.exe
│   pymanager.exe
│   pymanager.json
│   pyshellext.exe
│   python.exe
│   python3.exe
│   pythonw.exe
│   pythonw3.exe
│   pyw-manager.exe
│   pyw.exe
│   pywmanager.exe
│   vcruntime140.dll
│   vcruntime140_1.dll
│   version.txt
│   _resources.map.txt
│   _resources.pri
│
├───AppxMetadata
│       CodeIntegrity.cat
│
├───bundled
│       fallback-index.json
│       pythoncore-3.14-64-3.14.0.zip
│
├───MSIX.AppInstaller.Data
│       MSIXAppInstallerData.xml
│
├───runtime
│       manage.cp314-win_amd64.pyd
│       python314.dll
│       python314.zip
│       python314._pth
│       _native.cp314-win_amd64.pyd
│
├───templates
│       launcher-32.exe
│       launcher-64.exe
│       launcher-arm64.exe
│       launcherw-32.exe
│       launcherw-64.exe
│       launcherw-arm64.exe
│       template.py
│
└───_resources
        py.ico
        pyc.ico
        pyd.ico
        python.ico
        pythonw.ico
        pythonwx150.png
        pythonwx44.png
        pythonx150.png
        pythonx44.png
        pythonx50.png
        pyx256.png
        setupx150.png
        setupx44.png

Default behavior of Python Manager, currently is

Location User PATH System PATH Run Python Run PythonManager
C:\Program Files\WindowsApps\PythonSoftwareFoundation.PythonManager_25.0.240.0_x64...
C:\Users\<UserName>\AppData\Local\Python\bin\

Note

Default installation location C:\Program Files\WindowsApps\PythonSoftwareFoundation.PythonManager_25.0.240.0_x64__*> of Python Manager is not in PATH, if this in PATH then there is no need to report issue. Only installed (bundled) Python 3.14.0 is ~\AppData\Local\Python\bin\ and in PATH, so python (only) run from here.

Expected Behavior

  • Default installation location of Python Manager should be in PATH by default.
  • py.exe should be exposed via PATH (like python.exe) so commands like py list work.
  • PATH entries should remain stable across Store updates without requiring manual symlink creation.

Impact

  • Users cannot use the py launcher, breaking workflows that rely on py (e.g., py -3.14, py list).
  • PATH breaks after Store updates because executables live in versioned directories.
  • Manual fixes (symlinks or copying executables) are required, which is error-prone.

Suggested Fixes

  1. Expose py.exe via App Execution Alias (same as python.exe but point is python.exe currently run from separate installation).
  2. Stabilize PATH:
    • Provide a non-versioned folder (e.g., C:\Users\<UserName>\AppData\Local\PythonManager) with symlinks to the latest executables.
    • Or update PATH automatically after Store updates.
    • For System wide use this by default System PATH: C:\Program Files\WindowsApps\PythonSoftwareFoundation.PythonManager_25.0.240.0_x64__*.
  3. Clarify Documentation:
    • Document where Python Manager installs files.
    • Explain how users can access py.exe and py-manager.exe.
  4. Clean up AppData Packages folder:
    • Remove it if unused, or populate it with metadata/symlinks.

Environment

  • OS: Windows 11
  • Installation source: Microsoft Store → Python Manager
  • Python Manager version: 25.0.240.0_x64
  • Observed Python version: 3.14.0
  • User PATH: C:\Users\<UserName>\AppData\Local\Python\bin\python.exe

Notes

This issue affects reproducibility, automation, and developer workflows. The lack of a stable py launcher in PATH is particularly problematic for scripts, CI/CD pipelines, and educational materials that rely on py.


The answer in that issue #223 is not helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions