pip error: command 'gcc' failed with exit status 1

SWIG/_m2crypto_wrap.c:127:20: 致命错误:Python.h:没有那个文件或目录
     #include <Python.h>
                        ^
    编译中断。
    error: command 'gcc' failed with exit status 1

 

sudo yum install python-devel

sudo yum install libevent-devel

sudo yum install libffi libffi-devel

easy_install gevent
posted @ 2017-01-09 11:25  Alan-z  阅读(981)  评论(0)    收藏  举报