How to install Python3
https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
安装相关依赖包:
sudo yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make
解压,进入解压目录,执行下面的命令:
./configure prefix=/usr/local/python3 --enable-optimizations make -j4
sudo make install