Installing M2Crypto on Windows
Asked Answered
S

2

3

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.

Skulk answered 31/1, 2012 at 11:9 Comment(1)
Install via pip: pip install M2CryptoWin64 (for 64-bit Win) or pip install M2CryptoWin32 (for 32-bit). See this blogAloha
S
4

There is a Windows Installer in the M2Crypto page.

Unable to install using easy_install on Windows.

Skulk answered 31/1, 2012 at 11:32 Comment(1)
M2Crypto is broken.Sent
P
1

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.)

Petrochemical answered 2/6, 2014 at 12:55 Comment(2)
could you please post the M2Crypto binary? I can't find it in the link provided.Irritated
This is an old post, but the installer pointed to by the link above, is under the the View Raw link at the bottom of its page. (at least at the time I posted this comment)Sent

© 2022 - 2024 — McMap. All rights reserved.