How to import m2crypto library into python

Jury A picture Jury A · Oct 8, 2012 · Viewed 16.9k times · Source

I need to work with m2crypto library. How can I import it to my .py file? I use Eclipse.

Answer

Joran Beasley picture Joran Beasley · Oct 8, 2012

usually just doing import m2crypto is sufficient

you may need to easy_install m2crypto first or maybe even pip install m2crypto

If you are on windows you may need the Visual Studio DLL to compile it