Search code examples
pythonm2crypto

M2Crypto Error Installing on Windows


I'm trying to install the M2Crypto on Python26 in Windows, but I am getting the below error.

error: command 'swig.exe' failed: No such file or directory

This error occurs both using the "Easy Install" or "PIP Install" command. Follows the Log:

running build

running build_py

running build_ext

building 'M2Crypto.__m2crypto' extension

swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c

swig.exe -python -IC:\Python26\include -IC:\Python26\PC -Ic:\pkg\include -includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i

error: command 'swig.exe' failed: No such file or directory

Any Help?


Solution

  • Putting this in answer format:

    You could try to install a binary build from http://chandlerproject.org/Projects/MeTooCrypto

    from mata's comment that resolved OP's issue