python3 安装

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 ibffi-deve

wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz

tar -xvJf  Python-3.7.0.tar.xz

cd Python-3.7.0

./configure –prefix=/usr/local/python3

make && make install

【ModuleNotFoundError: No module named ‘_ctypes’ make: *** [install] Error 1】解决方式

  yum install libffi-devel -y

安装成功

 

posted @ 2019-09-06 10:21  青色蔷薇  阅读(143)  评论(0编辑  收藏  举报