Install python3.4 on CentOS, enter the interactive mode backspace key, the direction key garbled problem

Source: Internet
Author: User

Install python3.4 First

Download Wget-c https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tgz

Unzip the tar zxvf python-3.4.3.tgz

CD Python-3.4.3

./configure--prefix=/opt/python #因为centos自带python, in order not to affect the original system, I am here to install additional to the new directory

Make install

Ln-s/opt/python/bin/python3.4/usr/bin/python3 #软连接到系统path所指向的一个目录中, making it a system command

Ln-s/OPT/PYTHON/BIN/PIP3.4/USR/BIN/PIP3

Ln-s/opt/python/bin/easy_install-3.4/usr/bin/easy_install3

Installation Complete

Python3 command into the interactive interface, the results found that the BACKSPACE key, key and so many keys are not normal use, Baidu after

After installing this with the Yum install Readline-devel, reinstall python3.4.3 to resolve

Before installing Python3, it is better to install readline-devel in advance.

Install python3.4 on CentOS, enter the interactive mode backspace key, the direction key garbled problem

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.