Skip to content

Internal error from py uninstall #354

@pfmoore

Description

@pfmoore

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
py uninstall 3.10 does the uninstall, but reports an INTERNAL ERROR.

To Reproduce
❯ py exec -3.10


The signature for https://www.python.org/ftp/python/index-windows.json was successfully verified.
The signature for https://www.python.org/ftp/python/index-windows-recent.json was successfully verified.
The signature for https://www.python.org/ftp/python/index-windows-legacy.json was successfully verified.
Installing Python 3.10.11.
Extracting: ...................................................................✅
To see all available commands, run 'py help'


Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

^Z

❯ py list
Tag Name Managed By Version Alias
3.14[-64] * Python 3.14.5 PythonCore 3.14.5 python3[-64].exe, python3.14[-64].exe
3.14t[-64] Python 3.14.5 (free-threaded) PythonCore 3.14.5 python3.14t[-64].exe, python3t[-64].exe
3.10[-64] Python 3.10.11 PythonCore 3.10.11 python3.10.exe
❯ py uninstall 3.10
Uninstall Python 3.10.11? [Y/n] y
Removed Python 3.10.11
[ERROR] INTERNAL ERROR: AttributeError: 'UninstallCommand' object has no attribute 'enable_entrypoints'

Expected behavior
No internal error.

Additional context
The behaviour appears to be fine (the uninstall worked), so the error is not a major issue in practice.

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