I am using cent os 6.7 server and I want to update my python 2.6 to 2.7 or above and also want to change my default version from python 2.6 to newest. How can I do that?
yum install -y centos-release-SCL
yum install -y python27
Then check your python version
which python
python -V
More information here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.