gdrocket 发表于 2018-8-13 10:52:54

pip 安装python模块常见错误

  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-develpython-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
页: [1]
查看完整版本: pip 安装python模块常见错误