链接:
https://stackoverflow.com/questions/22774529/what-is-the-safest-way-to-removing-python-framework-files-that-are-located-in-di
https://blog.csdn.net/tymatlab/article/details/78608704
https://blog.csdn.net/qq_35246620/article/details/78252549?locationNum=8&fps=1
官网pkg安装的python版本
(摘自https://www.cnblogs.com/autobyme/p/8568565.html)
删除Python 3.6 framework
sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.6
删除Python 3.6 应用目录
sudo rm -rf "/Applications/Python 3.6"
删除/usr/local/bin 目录下指向的Python3.6的连接
cd /usr/local/bin/
ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/3.6' | awk '{print $9}' | tr -d @ | xargs rm
网友评论