标签:containe lib 编译 file get http https pytho int
yum -y intall zlib zlib-devel libffi-devel tk-devel
wget https://www.python.org/ftp/python/3.9.4/Python-3.9.4.tar.xz
tar xvf Python-3.9.4.tar.xz -C /usr/local/src
cd Python-3.9.4
# 后面make install的时候,根据提示安装依赖包
yum -y intall zlib zlib-devel libffi-devel tk-devel
./configure --prefix=/usr/local/src/python3.9 --enable-optimizations
make & make install
ln -s /usr/local/python3.9/bin/python3 /usr/local/bin/python3
ln -s /usr/local/python3.9/bin/pip3 /usr/local/bin/pip3
标签:containe lib 编译 file get http https pytho int
原文地址:https://www.cnblogs.com/firewalld/p/14704336.html