Installing M2Crypto on Windows

yossi picture yossi · Jan 31, 2012 · Viewed 10.3k times · Source

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.

Answer

yossi picture yossi · Jan 31, 2012

There is a Windows Installer in the M2Crypto page.

Unable to install using easy_install on Windows.