Home » python » python3 一键安装

python3 一键安装

yum -y install gcc automake autoconf libtool make
yum  -y install gcc gcc-c++ autoconf automake
yum groupinstall “Development tools”
yum -y install  zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
wget https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tgz
tar zxvf Python-3.6.7.tgz
cd Python-3.6.7
./configure
make
make install
cd ..
rm -rf Python-3.6.7*
pip3 install --upgrade pip

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*
*