centos7升级Python后yum不能用,误删系统自带Python,怎么解决?
centos7升级Python后yum不能用,误删系统自带Python,怎么解决?
客官,别急。。。
首先,完全删除系统的Python环境
rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps
其次,删除残余文件
whereis python |xargs rm -frv
验证是否完全删除干净(无返回内容即可)
whereis ...
原创
2020-04-14 18:07:25 ·
426 阅读 ·
0 评论