python3.7.x安装错误

yum install zlib-devel libffi-devel -y

# zipimport.ZipImportError: can't decompress data; zlib not available yum -y install zlib-devel
# python 3.7.x ModuleNotFoundError: No module named '_ctypes' yum install libffi-devel -y # libffi-devel-3.0.13-18.el7.x86_64.rpm
# Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/request/ # 先安装,在加上`--with-ssl`编译安装,可加上--enable-optimizations ,让python运行得更快 yum install openssl-devel -y