Python upgrade install new version and ReadLine

Source: Internet
Author: User

You need to install the updated version of Python and install the ReadLine

http://www.python.org/

2. Installation:

TAR-XF PYTHON-2.7.9.TAR.XZ

CD Python-2.7.9

./configure--prefix=/usr/local/pyhon2.7

Make

Make install

3. Back up old version files

mv/usr/bin/python/usr/bin/python2.6.6

4. Connect a new file

Ln-s/usr/local/pyhon2.7/bin/python/usr/bin/python

Installation Complete


After installation, install ReadLine, install setuptools before installation.

Download path: https://pypi.python.org/pypi/

TAR-XF setuptools-18.4.tar.gz

CD setuptools-18.4

Python setup.py Install


TAR-XF readline-6.2.4.1.tar.gz

CD readline-6.2.4.1

Python setup.py Install

This article is from the "OPS rookie" blog, please be sure to keep this source http://ckl893.blog.51cto.com/8827818/1736210

Python upgrade install new version and ReadLine

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: info-contact@alibabacloud.com 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.