I am trying to install M2Crypto so that I can create pkey in my web application. My hosting requirements dictate that I should use pip to install any dependencies. Installing m2crypto at the system level is not an option for me. I am using Mint 12 in development and will be deployed to heroku.
error: the "swig" command failed with exit status 1 looks like a problem, but Google did not help. Thoughts?
Dump
Downloading/unpacking m2crypto Downloading M2Crypto-0.21.1.tar.gz (413Kb): 413Kb downloaded Running setup.py egg_info for package m2crypto Installing collected packages: m2crypto Running setup.py install for m2crypto building 'M2Crypto.__m2crypto' extension swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c swig -python -I/usr/include/python2.7 -I/usr/include -includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i unable to execute swig: No such file or directory error: command 'swig' failed with exit status 1 Complete output from command /home/bob/.virtualenvs/my_app/bin/python -c "import setuptools;__file__='/home/bob/.virtualenvs/my_app/build/m2crypto/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install
source share