centos6.5 python 升级2.7+pip

前端之家收集整理的这篇文章主要介绍了centos6.5 python 升级2.7+pip前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

官网下载Python-2.7.3.tgz

./configure --prefix=/usr/local/python27

make && make install



cp -a /usr/local/python27/bin/python2.7 /usr/bin/python



vim /usr/bin/yum > /usr/bin/python2.6


官网下载pip-8.1.2

python setup.py install

pip -V

原文链接:https://www.f2er.com/centos/381646.html

猜你在找的CentOS相关文章