Python--CENTOS6 Install python2.7 version

Source: Internet
Author: User

Review: The extension source can only exist one when it is intended to install the second need to remove the first, rpm-e epel-release---small Q


python2.7 Installation

Environment: CentOS 6.5


Tar xvzf python-2.7.8.tgz

CD Python-2.7.8


Make--jobs= ' grep processor/proc/cpuinfo | Wc-l '

Make install

## will be python Copy the header file to a standard directory to avoid compiling ansible , the desired header file cannot be found



## back up older versions of python , and the symbolic link to the new version of the python


MV Python python2.6


## Modify Yum script so that it points to the old version of the python , it has been prevented from running

650) this.width=650; "src=" Http:// "title=" 1.png " alt= "Wkiol1ghwcpwxzu-aabebzh_ra0545.png"/>



This article is from the "North Ice--q" blog, please be sure to keep this source

Python--CENTOS6 Install python2.7 version

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

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.