专注 K8S研究
分类: 系统运维
2018-12-28 17:55:41
python3
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
cd Python-3.6.5
./configure --prefix=/usr/local/python3 --enable-optimizations
make & make install
ln -s /usr/local/python3 /bin/python3 /usr/bin/python3
pip3
curl -o get-pip.py
python get-pip.py