1. 程式人生 > >centos7安裝python3.7.3

centos7安裝python3.7.3

evel figure 安裝 b- bin entos tar pytho configure

yum install gcc zlib zlib-devel libffi-devel -y

wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz

tar -zxvf Python-3.7.3.tgz

cd Python-3.7.3/

./configure prefix=/usr/local/python3

make && make install

ln -s /usr/local/python3/bin/pip3 /usr/bin/python3

ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3

centos7安裝python3.7.3