CentOS7安装Python3.7
- python3.7源码包
链接:https://pan.baidu.com/s/1JgXboY3uG7K6vxuSQl9twg
提取码:1pqw
- 安装python3之前需要先安装一些依赖
yum -y install zlib-devel bzip2-devel openssl-devel openssl-static ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel lzma gcc
- 解压、编译和安装
tar xvf Python-3.7.0.tar.xz
cd Python-3.7.0/
./configure --prefix=/usr/local
make && make install
Win10安装Python3.7
python3.7源码包
链接:https://pan.baidu.com/s/1RFsc7JHXzXaQnZTqls7ZvA
提取码:atmm