Python3.5-centos Installation

Source: Internet
Author: User

Tags: using download version code down configure Conf Yum follow

Download the installation package

https://www.python.org/downloads/release/python-352/
If you're lazy, just use the following command.

wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
Extract
tar -xzvf Python-3.5.2.tgz
Before installation

Please install the following components: GCC (compile to use), Openssl-devel (install PIP3)

yum install gcc zlib-devel
Installation

Go to the Unpacked directory

cd Python-3.5.2

To configure the installation directory (select Use default here), the command is as follows:

Compile and install:

make && make install

Installation complete, look at the version of Python3 and PIP3

python3 --version pip3 --version

Python3.5-centos Installation

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.

Tags Index: