mkdir python3
cd python3/
yum -y install gcc*
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel sqlite zlip readline openssl libffi libffi-devel
cd ../soft/
ls
tar -zxvf Python-3.7.4.tgz -C ../python3/
cd ../python3/
ls
cd Python-3.7.4/
ls
./configure --prefix="/root/python3" --with-ssl
make &&make Install
vim .bashrc
source .bashrc
pip3 -V 显示pip的版本