Repository navigation
Python Manager Installation Path & py Launcher Inconsistency #226
Description
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.0Warning
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.pngDefault 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
PATHby default. py.exeshould be exposed via PATH (likepython.exe) so commands likepy listwork.- PATH entries should remain stable across Store updates without requiring manual symlink creation.
Impact
- Users cannot use the
pylauncher, breaking workflows that rely onpy(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
- Expose
py.exevia App Execution Alias (same aspython.exebut point is python.exe currently run from separate installation). - 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__*.
- Provide a non-versioned folder (e.g.,
- Clarify Documentation:
- Document where Python Manager installs files.
- Explain how users can access
py.exeandpy-manager.exe.
- 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.
Activity
zooba commentedon Dec 2, 2025
py.exeis already exposed as an execution alias, and since that is your first proposed solution, I assume your issue is with the OS (or potentially OS configuration) that didn't create that alias.Are you able to launch
pymanager.exefrom anywhere? If so,pymanager install --configureshould give you the first-run steps again, and ifpy.exeis not available it should warn you about missing shortcuts. Opening the "Manage app execution aliases" settings pane and reactivating the alias there ought to fix it. Could you try this and confirm?Also, it looks like you've used AI to expand your bug. Please don't do that, it's just a waste of our time reading it. We'd rather have short and direct bug reports that don't waste our time.
m-asadullah commentedon Dec 3, 2025
Almost, but Python Manager is not putting its location to
PATH, but it asks for CPython and ony= yes, it install the bundled python and put it into userPATH, so it only runs.Tip
For putting the path into System Path might be elevated step, require administrator permission.
Question: Are you able to launch pymanager.exe from anywhere?
Answer: Not from terminal
Also, if bother the command line traces then might understand, issue is updated for convenience and there is now table to view actual behavior of
Python Managerzooba commentedon Dec 3, 2025
It sounds like you may have inadvertently (or deliberately) removed the
%UserProfile%\AppData\Local\Microsoft\WindowsAppsentry from your PATH, which is how aliases are made available. If you've done this, then you should add that path back, which will restore your operating system to it's original state.I can't decipher anything here that is our responsibility. If you think we've done something wrong, please just write a short summary in a new post - editing old posts, especially excessively long ones, is not at all helpful.
m-asadullah commentedon Dec 4, 2025
It’s possible that the
%UserProfile%\AppData\Local\Microsoft\WindowsAppsentry was accidentally removed from the PATH. This had not been a problem before.Manually, adding this entry into PATH, and the
pyandpythonboth found.Thanks, a lot for figuring this out.
Note: PythonManager (msi) variant works perfect.
Scenario: Faced before
After installing Python manager from Microsoft Store, its first run:
After first run complete, then open CMD:
The Python Manager is not able to add this entry
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps.These screenshots are taken after reinstallation of Python Manager from Microsoft Store
brunoamancio commentedon Dec 27, 2025
I have not removed %UserProfile%\AppData\Local\Microsoft\WindowsApps from path and still got the same issue on Win11. Adding it to PATH fixed the issue.