Skip to content

Unable to run Python distribution by running python or python3 #371

@adrianghc

Description

@adrianghc

Install source and version

  • Installed from the Windows Store
  • Installed with the MSIX from python.org
  • Installed with the MSI from python.org
  • Installed with winget install 9NQ7512CXL7T

Version: 26.2

Describe the bug
I am unable to run my default Python version by running python, python.exe, python3 or python3.exe. Only the exact version works, e.g., python3.14. No other Python versions are installed.

Unable to run == the following error appears:

********************************************************************************
The signature for https://www.python.org/ftp/python/index-windows.json was successfully verified.
Python 3.14.6 is already installed.
To see all available commands, run 'py help'
********************************************************************************
[ERROR] No runtimes are installed. Try running "py install default" first.

This is the output of py list:

Tag           Name           Managed By  Version  Alias
3.14[-64]     Python 3.14.6  PythonCore  3.14.6   python3[-64].exe, python3.14[-64].exe

It does not matter whether I installed pymanager via the Store, WinGet, the MSIX or the MSI; the error is always the same. It also does not matter whether %LOCALAPPDATA%\Python\bin is in PATH or not.

To Reproduce
Steps to reproduce the behavior:

  1. Install pymanager from any source.
  2. Open pymanager on a terminal and run setup.
  3. Run python, python.exe, python3 or python3.exe in the same or a new terminal.

Expected behavior
The Python distribution that was just installed should be invokable via python, python.exe, python3 or python3.exe.

Additional context
These are my contents of %LOCALAPPDATA%\Python\bin:

Image

These are my app alias settings:

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions