背景说明:
Cento6.8自带得Python版本是比较旧的2.6.6版本,直接运行Python脚本的时候回提示版本太旧无法使用等问题,因此本 文就是为了解决这个问题的。

具体的步骤也很简单,直接把下面的命令复制粘贴即可。
【注】:#号后面的就是命令!

Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9

Centos6.8自带的Pyhon2.6.6更新到Python2.7.9

Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9
Centos6.8自带的Pyhon2.6.6更新到Python2.7.9

相关文章: