tar xf Python-2.7.9.tar.xz   
cd Python-2.7.9./configure
make
make install

 

 

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

 vim /usr/bin/yum  里面的python修改为 python2.6这个目录

相关文章:

  • 2022-01-03
  • 2021-12-27
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-12-05
猜你喜欢
  • 2021-05-30
  • 2022-02-07
  • 2021-11-19
  • 2022-01-08
  • 2022-12-23
  • 2021-10-12
相关资源
相似解决方案