How to import m2crypto library into python
17,278
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
Author by
Jury A
Updated on August 08, 2022Comments
-
Jury A almost 2 years
I need to work with
m2crypto
library. How can I import it to my.py
file? I use Eclipse. -
Mikko Ohtamaa over 11 yearsFor installing Python packages please read opensourcehacker.com/2012/09/16/…
-
Jury A over 11 yearsI am a windows user. The code line is:
from M2Crypto import SSL
, when I run the code, I get:ImportError: No module named M2Crypto
. I alreay installed .msi m2crypto package from: chandlerproject.org/Projects/MeTooCrypto#Contributed%20Builds as well asWin64 OpenSSL v1.0.1c Light
from: slproweb.com/products/Win32OpenSSL.html. Not sure what else I can do ? -
Matthias over 11 yearsYou installed a 64bit version of SSL. Are you using a 64bit version of Python and the 64bit version of M2Crypto?