安装cryptography 报错 有人知道么

baidu_36873072 2016-11-30 02:29:11
building '_openssl' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o
build/temp.linux-x86_64-2.7/_openssl.c:1869: warning: function declaration isn’t a prototype
build/temp.linux-x86_64-2.7/_openssl.c:1870: warning: function declaration isn’t a prototype
build/temp.linux-x86_64-2.7/_openssl.c:1871: warning: function declaration isn’t a prototype
build/temp.linux-x86_64-2.7/_openssl.c:1896: warning: function declaration isn’t a prototype
build/temp.linux-x86_64-2.7/_openssl.c:1947: warning: function declaration isn’t a prototype
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_const_CMS_DEBUG_DECRYPT’:
build/temp.linux-x86_64-2.7/_openssl.c:7619: error: ‘CMS_DEBUG_DECRYPT’ undeclared (first use in this function)
build/temp.linux-x86_64-2.7/_openssl.c:7619: error: (Each undeclared identifier is reported only once
build/temp.linux-x86_64-2.7/_openssl.c:7619: error: for each function it appears in.)
error: command 'gcc' failed with exit status 1



离线linux环境
...全文
1277 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
baidu_36873072 2016-11-30
  • 打赏
  • 举报
回复
有人知道么。。。急啊~~~~
_明月 2016-11-30
  • 打赏
  • 举报
回复
抱歉,由于个人能力有限,帮不了你。

999

社区成员

发帖
与我相关
我的任务
社区描述
OpenStack
社区管理员
  • OpenStack社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧