Centos6中Python2.6升级2.7

(一) Python 2.7安装:

思路大致如下: http://jingyan.baidu.com/article/7082dc1c6ad06ce40a89bdf2.html(重新编译后不再需要MV步骤。)


但是前提还要安装openssl

http://www.cnblogs.com/xiaotengyi/p/4082471.html


(二) Pip安装

网上很多说 yum install python-pip都是坑爹的,需要重新编译源码,记得sudo。


可能有帮助的帖子:

http://www.cnblogs.com/yuechaotian/archive/2013/06/03/3115472.html

http://bbs.chinaunix.net/thread-4150386-1-1.html

相关文章

#使用军哥的lnmp配置虚拟主机,需要注意的是要配置hosts文件(...
一、配置编译环境 yum update && yum upgra...
一、下载repo文件 二、备份并替换系统的repo文件 三、执行yu...
LAMP -- Linux Apache MySQL PHP 在CentOS安装的顺序,我一般...
一、下载nginx安装包,官网下载中心http://nginx.org/downlo...
1.下载composer curl -sS https://getcomposer.org/installe...