Mac pythonのアンインストール

1224 ワード

公式サイト紹介:https://docs.python.org/3/using/mac.html#getting-and-installing-macpython
A framework /Library/Frameworks/Python.framework, which includes the Python executable and libraries. 
The installer adds this location to your shell path. 
To uninstall MacPython, you can simply remove these three things. 
A symlink to the Python executable is placed in /usr/local/bin/.

The Apple-provided build of Python is installed in /System/Library/Frameworks/Python.framework and /usr/bin/python, respectively.
You should never modify or delete these, as they are Apple-controlled and are used by Apple- or third-party software. 
Remember that if you choose to install a newer Python version from python.org, 
you will have two different but functional Python installations on your computer, 
so it will be important that your paths and usages are consistent with what you want to do.

簡単に言えば
  • 削除/Library/Frameworks/Python.framework
  • /usr/local/bin/のpythonリンク(symlink)
  • を削除
    注意:アップルシステムはpythonのサポートが必要です.この2つのフォルダを削除しないでください./System/Library/Frameworks/Python.framework  and  /usr/bin/python.
    最後にApplicationのpythonフォルダを削除する必要があります