1.报错:

c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory

     #include <ffi.h>

                     ^

    compilation terminated.

    error: command 'gcc' failed with exit status 1


yum install -y libffi-devel  python-devel

或ubuntu中

 

apt-get install -y libffi-dev python-dev libevent-dev

 

 

2.报错:build/temp.linux-x86_64-3.4/_openssl.c:423:30: fatal error: openssl/opensslv.h: No such file or directory

 

   apt-get install libssl-dev