Python3.7.4安装
1.下载:wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz
解压:tar zxvf Python-3.7.4.tgz
cd Python-3.7.4.tgz
./configure
make all
yum install libffi-devel
make install
make clean
make distclean
安装成功
位置:/usr/local/bin/python3.7
安装pip
curl https://bootstrap.pypa.io/ez_setup.py | python3.7
wget https://files.pythonhosted.org/packages/00/9e/4c83a0950d8bdec0b4ca72afd2f9cea92d08eb7c1a768363f2ea458d08b4/pip-19.2.3.tar.gz
/usr/bin/python3/7 setup.py install