报错信息:

# yum list all

-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory

处理方法:

把python版本改为2.4  

# vim /usr/bin/yum

#!/usr/bin/python2.4

ln -s /usr/local/bin/python2.7 /usr/bin/python2.4