小编Pra*_*nna的帖子

在CentOS上安装M2Crypto

我试图通过源代码编译在CentOS上安装M2Crypto.我正在做一个python setup.py构建但是我收到以下错误,

/usr/local/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
running build_ext
building 'M2Crypto.__m2crypto' extension
swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
swig -python -I/usr/local/include/python2.6 -I/usr/include -includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
SWIG/_m2crypto.i:28: Error: Unable to find 'openssl/opensslv.h'
SWIG/_evp.i:9: Error: Unable to find 'openssl/opensslconf.h'
SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h'
error: command 'swig' failed with exit status 1
Run Code Online (Sandbox Code Playgroud)

请指教 ...

人员Prasanna

python install m2crypto

10
推荐指数
3
解决办法
1万
查看次数

标签 统计

install ×1

m2crypto ×1

python ×1