异常

INFO: Could not locate ffi libs and/or headers

The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
_abc                  atexit                pwd                
time                                                           


Failed to build these modules:
_ctypes                                                        

running build_scripts
creating build/scripts-3.7

原因

缺少c_types模块

解决

安装libffi-devel依赖包即可,执行yum install libffi-devel命令进行安装。
在这里插入图片描述再执行make命令即可成功编译了。

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐