ModuleNotFoundError: No module named '_ctypes'

pip3 安装模块时,报如下错误:

ModuleNotFoundError: No module named '_ctypes'

解决方法:

yum -y install libffi-devel

重新编译安装 python:

https://blog.csdn.net/qq494686707/article/details/105219154

你可能感兴趣的:(ModuleNotFoundError: No module named '_ctypes')