官网介绍: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的支持,无论如何不要修改删除这两个文件夹
/System/Library/Frameworks/Python.framework
and /usr/bin/python.
最后还需要删除Application下的python文件夹
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有