如果是gcc没有安装, 并不会报一堆的错误, 而是提示:
gcc xxxxxx …..
unable to execute gcc: No such file or directory
error: command ‘gcc’ failed with exit status 1
如果gcc已经安装, 报一堆错误, 后面还是紧跟着:
…….
error: command ‘gcc’ failed with exit status 1
那么这个时候就需要安装一下python-devel:
1 |
$ yum -y install python-devel |
问题解决。