linux平台下,需要gcc和openssl-devel的依赖包,所以没有的话需要先安装:
yum -y install gcc* yum -y install openssl-devel
然后将压缩包解压,进入配置路径:./configure --prefix=/usr/local/python3 --enable-shared && make && make install
linux平台下,需要gcc和openssl-devel的依赖包,所以没有的话需要先安装:
yum -y install gcc* yum -y install openssl-devel
然后将压缩包解压,进入配置路径:./configure --prefix=/usr/local/python3 --enable-shared && make && make install