centos6.5安裝python27+easy_install27+pip27

來源:互聯網
上載者:User

centos6.5安裝python27+easy_install27+pip27
yumgroupinstall"DevelopmentTools"yuminstall-yopenssl-develzlib-devsqlite-develbzip2-devel如果安裝openssl-devel出現報錯:Protectedmultilibversions:libselinux-2.0.94-5.3.el6_4.1.i686!=libselinux-2.0.94-5.8.el6.x86_64可以嘗試:yumdowngradelibselinux*安裝Python-2.7wgethttps://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgztarzxvfPython-2.7.10.tgzcdPython-2.7.10./configuremakemakeinstallcd..安裝easy_installwgethttps://pypi.python.org/packages/source/s/setuptools/setuptools-18.7.zipunzipsetuptools-18.7.zipcdsetuptools-18.7python2.7setup.pyinstallcd..安裝pipeasy_install-2.7pip#pip2.7--versionpip7.1.2from/usr/local/lib/python2.7/site-packages/pip-7.1.2-py2.7.egg(python2.7)ZYXW、參考1、CENTOS6.5安裝Python2.7總結http://segmentfault.com/a/11900000006542272、HowToSetUpPython2.7.6and3.3.3onCentOS6.4https://www.digitalocean.com/community/tutorials/how-to-set-up-python-2-7-6-and-3-3-3-on-centos-6-43、0006944:openssl-devel.x86_64has.i686librariesasadependencyhttps://bugs.centos.org/view.php?id=69444、yuminstallerror:protectedmultilibversionserrorhttp://superuser.com/questions/345876/yum-install-error-protected-multilib-versions-error5、Howtofix“unknownurltype:https”errorineasy_installhttp://ask.xmodulo.com/fix-unknown-url-type-https-error-easy_install.html

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.