rhel5.3安裝python 2.7報錯--172

報錯信息: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

相關文章
相關標籤/搜索