卸载旧版本python的安全方法 [英] Safe way to uninstall old version of python

查看:456
本文介绍了卸载旧版本python的安全方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Mac上更新我的Python框架并删除旧版本 但我不确定

I want to update my Python framework on Mac and delete the old versions but I am not sure if is safe to

rm -fr /Library/Frameworks/Python.framework/Versions/2.4 - 2.5 - 2.6 -3.0 etc.

有什么建议吗?

推荐答案

是的,这很安全.
Mac的系统python位于/System/Library/...中.
从python.org下载并安装的.dmg放在/Library/...中.
不要删除/System的,而/Library的是用户安装的,因此应该可以安全删除.

Yes, it's safe.
The Mac's system python's are in /System/Library/....
.dmg's downloaded and installed from python.org are placed in /Library/....
Don't delete the /System ones, but the /Library ones are user installed, so they should be safe to delete.

这篇关于卸载旧版本python的安全方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆