python / python/cpython

Create a script for complete uninstallation of Python on MacOS

Aberta
#145,016 1 comentário 1 reação 1 responsável Ver no GitHub

@ned-deily já está trabalhando nisso.

Desde 19/2/2026.

OS-mac topic-installation type-feature
Linguagem predominante
Python
Estrelas
77.2k
Forks
35.9k
Métricas de merge de PRs
Métricas de PR pendentes

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.