Wednesday, March 19, 2014

Install M2Crypto with pip in a Virtualenv in Ubuntu 13.10

To be able to install M2Crypto with pip in a Virtualenv in Ubuntu 13.10, you have to install swig first:

$ sudo apt-get install swig

then

$ source /path/to/myvirtualenv/bin/activate
(myvirtualenv)$ pip install M2Crypto