python / python/cpython

Please clarify the uninstallation instructions for Mac

未關閉
#128,039 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@ned-deily 已經在處理了。

開始於 2024年12月17日。

docs OS-mac topic-installation
主要語言
Python
星號
77.2k
分支
36k
PR 合併指標
PR 指標待擷取

描述

Documentation

The current installation docs have two bullet points under the heading “A default install will include”. The second bullet point says “To uninstall Python, you can remove these three things.”

I had no idea what “three things” that sentence is referring to, until someone told me

It’s the three things that were mentioned in the previous paragraph, i.e. the usemac applications folder, IDLE, and the Python Launcher.

Could it be made more explicit? Something like the following makes more sense to me:

A default install will include:

* A |usemac_applications_folder_name| folder in your :file:`Applications` folder;

* Within the |usemac_applications_folder_name| folder: :program:`IDLE`, the development environment that is a standard part of official Python distributions;

* Also within the |usemac_applications_folder_name| folder: :program:`Python Launcher`, which handles double-clicking
  Python scripts from the macOS `Finder <https://support.apple.com/en-us/HT201732>`_;

* A :file:`3.13` folder (under the "framework" :file:`/Library/Frameworks/Python.framework`), which includes the
  Python executable and libraries (the installer adds this location to your shell
  path);

* Symlinks to the above Python executable, placed in :file:`/usr/local/bin/`.

To uninstall Python, you can remove the above five things.

.. note::

   Recent versions of macOS include a :command:`python3` command in :file:`/usr/bin/python3`
   that links to a usually older and incomplete version of Python provided by and for use by
   the Apple development tools, :program:`Xcode` or the :program:`Command Line Tools for Xcode`.
   You should never modify or attempt to delete this installation, as it is
   Apple-controlled and is used by Apple-provided or third-party software.  If
   you choose to install a newer Python version from ``python.org``, you will have
   two different but functional Python installations on your computer that
   can co-exist. The default installer options should ensure that its :command:`python3`
   will be used instead of the system :command:`python3`.

Linked PRs
  • gh-128040
  • gh-129930

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。