python 3 安装
1、安装相关依赖库,若已安装,可忽略,若依赖库版本低,需要更新,如yum update opensslyum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel libffi-devel gcc make2、解压,进入安装目录,修改 Modules/Setup
·
1、安装相关依赖库,若已安装,可忽略,若依赖库版本低,需要更新,如yum update openssl
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel libffi-devel gcc make
2、yum install libffi-devel -y
(解决:ModuleNotFoundError: No module named '_ctypes')
3、解压,进入安装目录,修改 Modules/Setup文件如下,为了安装SSL,若不需要安装SSL,可跳过此步骤
4、./configure
5、make & make install
更多推荐
已为社区贡献1条内容
所有评论(0)