centos6.5下如何把python2.6.6升级到2.7

来源:互联网 发布:设计方案优化措施 编辑:程序博客网 时间:2024/06/05 02:04

第一步:下载安装包

http://download.csdn.net/detail/xxy731180xxy/8558441


第二步:参考文章安装

http://jingyan.baidu.com/article/7082dc1c6ad06ce40a89bdf2.html


注意:中途会报错    gzip: stdin: not in gzip format  

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

解决方法:

1、重命名文件
2、然后使用-xvf别加z
这个可以用,我的解决了


0 0