下載地址
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel libffi-devel gcc make
cd use/local/python && tar -zxvf Python-3.8.9.tgz
mv Python-3.8.9 Python-3.8.9-install && cd Python-3.8.9-install
./configure --prefix=/usr/local/python/python3
make
make install
ln -s /usr/local/python/python3/bin/python3.8 /usr/local/bin/python
ln -s /usr/local/python/python3/bin/pip3.8 /usr/local/bin/pip
python --version
pip config set global.index-url https://pypi.douban.com/simple/