Found the problem :), I was using wrong version of M2Crypto so uninstalled it and install M2Crypto-0.20.2.win32-py2.7 version and its working fine.
On Fri, Jul 27, 2012 at 12:02 PM, Amit <amit.khaw...@gmail.com> wrote: > I Have installed python 2.7.2 and M2Crypto-0.21.1-py2.7.egg-info in my > Windows XP SP3 machine and wherever i am using import statement: > > from M2Crypto import X509,ASN1,Rand,EVP,RSA its throwing error > > * DLL load failed: The operating system cannot run %1.* > > it seems like M2Crypto version is not supported with Python2.7.2 and > windows XP SP3. In addition to that I am using > pyOpenSSL-0.13.winxp32-py2.7.msi for openSSL. > > Can anybody help me resolve this problem? > > -- > > > > --