2.解决办法 2.1 安装外部函数库(libffi) yum install libffi-devel -y 2.2 重新安装python yum install python 或者 make&make install 2.3 重新安装包 pip install