https://www.cnblogs.com/xuexianqi/p/13392975.html
1.使用yum remove卸载
yum remove python2
如有报错,尝试下面的方法
2.使用rpm命令
rpm -e --nodeps python
然后输入下方命令,找到残留文件路径,进行删除
whereis python
yum remove卸载yum remove python2
rpm -e --nodeps python
whereis python
相关文章: