centos 编译python3.7.0 报错ModuleNotFoundError: No module named '_ctypes'

平台:CentOS7
先安装以下依赖

yum -y groupinstall "Development tools"
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
yum install libffi-devel -y
make install

转载于:https://my.oschina.net/VenusV/blog/3074409

你可能感兴趣的:(运维,python)