報錯信息:python
# yum list allvim
-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directorybash
處理方法:python2.7
把python版本改成2.4 ide
# vim /usr/bin/yum it
#!/usr/bin/python2.4class
ln -s /usr/local/bin/python2.7 /usr/bin/python2.4file