linux 安装python3.7 报错No module named '_ctypes'

Posted boluo007

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux 安装python3.7 报错No module named '_ctypes'相关的知识,希望对你有一定的参考价值。

ModuleNotFoundError: No module named ‘_ctypes‘

操作系统:centos

yum install libffi-devel

./configure --enable-optimizations
make altinstall

参考:https://bugs.python.org/issue31652

以上是关于linux 安装python3.7 报错No module named '_ctypes'的主要内容,如果未能解决你的问题,请参考以下文章

pip3.7 install报错bad interpreter: No such file or directory

Linux笔记-Centos7将python2升级为python3(及修改yum配置防报错)

pip3安装Crypto报错ModuleNotFoundError: No module named 'Crypto'

ModuleNotFoundError: No module named ‘_ctypes‘报错

centos 解决python3.7 安装时No module named _ssl

Python3.7安装pyaudio库报错问题及修复