美文网首页
mac 卸载python

mac 卸载python

作者: 不再见_ef80 | 来源:发表于2018-10-23 13:38 被阅读0次

链接:

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

相关文章

网友评论

      本文标题:mac 卸载python

      本文链接:https://www.haomeiwen.com/subject/zytazftx.html