BUG error: command 'gcc' failed with exit status 1 截图显示: 报错原因 根绝报错信息,得知缺少python.h文件,因此添加python对应的devel文件就可以。 解决方案 sudo yum install python3-devel 成功解决