您的位置:首页 > 编程语言 > Python开发

pip 安装python模块常见错误

2017-10-18 10:18 316 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  pip error python