开发者社区> 问答> 正文

linux安装python pycrypto模块报错?报错

Linux下安装 pycrypto模块报错,麻烦各位大神给看看如何解决,多谢

In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/wmmintrin.h:31,
                 from src/AESNI.c:26:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/emmintrin.h: In function 鈥榓es128_keyexpand鈥

                                                                                              /usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/emmintrin.h:1380: error: the last argument must be an 8-bit immediate
error: command 'gcc' failed with exit status 1

展开
收起
爱吃鱼的程序员 2020-06-09 10:42:51 840 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    可以参考一下这个:

    error:command'gcc'failedwithexit;这是因为缺少python-dev的软件包,所yum-yinstallpython-devel

    python-devel装的有,不过是2.6的,系统自评论“SVD”的答案带的,我升级到3.5也报这个错依赖gcc模块
    2020-06-09 10:43:08
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
From Python Scikit-Learn to Sc 立即下载
Data Pre-Processing in Python: 立即下载
双剑合璧-Python和大数据计算平台的结合 立即下载