1. Download Python 3 wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz 2. Decompression [root@mycentos ~]# tar -xzvf Python-3.7.0.tgz First create a compilation directory: [root@mycentos ~]# mkdir /usr/local/python3 Python 3.7 version requires a new package libffi-devel. After installing this package, compile and install it again. [root@mycentos ~]# yum install -y libffi-devel Then compile and install: [root@mycentos ~]# cd Python-3.7.0 [root@mycentos ~]# ./configure --prefix=/usr/local/python3 [root@mycentos ~]# make [root@mycentos ~]# make install Create a soft link: [root@mycentos ~]# ln -s /usr/local/python3/bin/python3 /usr/bin/python3 View version: [root@mycentos ~]# python3 -V Python 3.7.0 Installation Complete! The above are all the knowledge points and detailed steps introduced this time. Thank you for your support of 123WORDPRESS.COM. You may also be interested in:
|
<<: Summary of the use of special operators in MySql
>>: JavaScript canvas to achieve meteor effects
Table of contents Declare fonts with font-face co...
View mysqlbinlog version mysqlbinlog -V [--versio...
Preface Semicolons in JavaScript are optional, an...
This article installs Google Input Method. In fac...
ffmpeg is a very powerful audio and video process...
EXPLAIN shows how MySQL uses indexes to process s...
Server Information Management server: m01 172.16....
Multiple values combined display Now we have th...
1. Which three formats? They are: gif, jpg, and pn...
1. The difference between the command > and &g...
Table of contents 1. Rendering 2. Bind data and a...
Red and pink, and their hexadecimal codes. #99003...
Table of contents What is the rest operator? How ...
1. Introduction This article describes how to use...
This article example shares the specific code of ...