Centos6.5 install python27 + easy_install27 + pip27
yumgroupinstall
"DevelopmentTools"
yum
install
-yopenssl-develzlib-devsqlite-devel
bzip2
-devel
If openssl-devel is installed, the following error occurs:
Protectedmultilibversions:libselinux-2.0.94-5.3.el6_4.1.i686!=libselinux-2.0.94-5.8.el6.x86_64
You can try:
yumdowngradelibselinux*
Install Python-2.7
wgethttps:
//www
.python.org
/ftp/python/2
.7.10
/Python-2
.7.10.tgz
tar
zxvfPython-2.7.10.tgz
cd
Python-2.7.10
.
/configure
make
make
install
cd
..
Install easy_install
wgethttps:
//pypi
.python.org
/packages/source/s/setuptools/setuptools-18
.7.zip
unzipsetuptools-18.7.zip
cd
setuptools-18.7
python2.7setup.py
install
cd
..
Install pip
easy_install-2.7pip
#pip2.7--version
pip7.1.2from
/usr/local/lib/python2
.7
/site-packages/pip-7
.1.2-py2.7.egg(python2.7)
ZYXW, reference
1. CENTOS6.5 installation of Python2.7 Summary
http:
//segmentfault
.com
/a/1190000000654227
2、HowToSetUpPython2.7.6and3.3.3onCentOS6.4
https:
//www
.digitalocean.com
/community/tutorials/how-to-set-up-python-2-7-6-and-3-3-3-on-centos-6-4
3、0006944:openssl-devel.x86_64has.i686librariesasadependency
https:
//bugs
.centos.org
/view
.php?
id
=6944
4、yum
install
error:protectedmultilibversionserror
http:
//superuser
.com
/questions/345876/yum-install-error-protected-multilib-versions-error
5、Howtofix“unknownurl
type
:https”error
in
easy_install
http:
//ask
.xmodulo.com
/fix-unknown-url-type-https-error-easy_install
.html