Question

I am trying to install M2Crypto on a Windows 7 machine using easy_install. However, I get the following error:

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

Any advice?

i tried installing openssl for windows.

Was it helpful?

Solution

There is a Windows Installer in the M2Crypto page.

Unable to install using easy_install on Windows.

OTHER TIPS

Install this M2Crypto binary for Windows 32 bit, Python 2.7

then open package manager and type:

pypm install M2Crypto

(NOTE: Active Python 2.7.6 64 does not work here. Reason unknown.)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top