error: command ‘gcc‘ failed with exit status 1报错解决

今天在安装sanic的时候发现报错error: command ‘gcc‘ failed with exit status 1

error: command ‘gcc‘ failed with exit status 1

根据报错提示可知少了一些开发包,安装即可yum install python3-devel 由于我是python所以安装对应的包,安装之后即可正常安装sanic包,欢迎关注博客