我正在尝试在 Windows XP 平台上安装 M2Crypto。我安装了 Python、easy_install 和 SWIG,但是当我尝试easy_install M2Crypto
得到以下信息时:
SWIG\_m2crypto.i(31) : Error: Unable to find 'openssl\opensslv.h'
SWIG\_m2crypto.i(45) : Error: Unable to find 'openssl\safestack.h'
SWIG\_evp.i(12) : Error: Unable to find 'openssl\opensslconf.h'
SWIG\_ec.i(7) : Error: Unable to find 'openssl\opensslconf.h'
error: Setup script exited with error: command 'swig.exe' failed with exit status 1
我在其他地方读过人们建议easy_install openssl-devel
的内容,但这只是告诉我没有找到具有该名称的包。该名称是否可能区分大小写(我尝试了各种排列但没有成功),还是该建议不适用于 Windows?
我不是在寻找 M2Crypto 的替代品。我正在挑选一些使用它的现有代码,所以我需要让我的开发环境能够运行已经编写的内容。