gpt4 book ai didi

python - 在 Centos 上安装 M2Crypto 时遇到问题

转载 作者:行者123 更新时间:2023-12-04 19:33:05 27 4
gpt4 key购买 nike

当我运行 pip install M2Crypto ,我得到:

/usr/include/openssl/opensslconf.h:31: Error: CPP #error ""This openssl-devel package does not work your architecture?"". Use the -cpperraswarn option to continue swig processing.

error: command 'swig' failed with exit status 1

我在这里尝试了答案( https://stackoverflow.com/a/7855209/828584 ),但是当尝试使用“build”运行脚本时,我得到了
gcc: error trying to exec 'as': execvp: Permission denied

有没有办法绕过错误或安装 M2Crypto 的其他方式?

最佳答案

我找到了另一个答案 https://stackoverflow.com/a/4380239/289192

试试这个命令:

env SWIG_FEATURES="-cpperraswarn -includeall -D__`uname -m`__ -I/usr/include/openssl" pip install M2Crypto 

关于python - 在 Centos 上安装 M2Crypto 时遇到问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22768477/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com