python / python/cpython

Create a script for complete uninstallation of Python on MacOS

Open
#145,016 1 comment 1 reaction 1 assignee View on GitHub

@ned-deily is already working on this.

Since Feb 19, 2026.

OS-mac topic-installation type-feature
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Feature or enhancement

Proposal:

You offer the standard .pkg for MacOS users to install Python. However, I had to wade through a few StackExchange answers to completely delete it later because your instructions on docs.python.org:
"To uninstall Python, you can remove these three things" aren't clear enough.

I want to read something like "5.1.3. Uninstallation steps", "To completely uninstall Python from MacOS, remove thing 1 (Python folder in your Applications folder), thing 2 (A framework /Library/Frameworks/Python.framework), thing 3 (symlinks to Python in /usr/local/bin/), thing 4 (a reference in shell path).

So to complement the easy installation of Python on MacOS, I propose to develop a script for an easy complete uninstallation of it. And include that script in the .pkg installer.

+vote for this from John:
https://superuser.com/a/585397

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.