Saturday, December 1, 2012

Using M2Crypto with virtualenv/pip

The M2Crypto version 0.21.1-1 via pip installs breaks when attempting to use in virtualenv: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637904 If you do apt-get install python-m2crypto, you can create a symbolic link:
ln -s /usr/lib/python2.7/dist-packages/M2Crypto~ /.virtualenvs/[virtualenv dir] /local/lib/python2.7/site-packages/M2Crypto

No comments:

Post a Comment