CentOS7 安装Python3.7.7

➜ yum install wget vim git gcc openssl-devel bzip2-devel libffi-devel -y
➜ wget https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tar.xz
➜ tar Jxvf Python-3.7.7.tar.xz
➜ cd Python-3.7.7
➜ ./configure --with-ssl --enable-optimizations --prefix=/usr/local/python3
➜ make && make install
➜ python3 --version
已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 酷酷鲨 设计师:CSDN官方博客 返回首页