首页 > 代码库 > “error: command 'gcc' failed with exit status 1”错误

“error: command 'gcc' failed with exit status 1”错误

安装salt的时候出现了这个错误

安装完gcc之后还是报这个错误

这时候就应该

 

yum install python-devel

Ubuntu下叫做python-dev,CentOS下叫做python-devel

“error: command 'gcc' failed with exit status 1”错误