Page 1 of 1

Error Importing OpenSSL Module

Posted: February 17th, 2009, 11:51 pm
by haywire
Hello, I'm trying to run from source on windows. I'm using amd64 versions of par2, python, pywin32, openssl. I've copied the dlls from my openssl libs directory over to my sab's lib directory, but still it says that it cannot load it.

I have a feeling I need pyopenssl but I cannot find a python 2.6 binary for it and if I try and compile the module I get an issue:

Code: Select all

src/crypto/x509name.c(16) : error C2133: 'crypto_X509Name_methods' : unknown size
Which seems to be Visual Studio having a shit at this:

Code: Select all

static PyMethodDef crypto_X509Name_methods[];
If there's a python 2.6 amd64 version of pyopenssl 0.8 for windows it would be useful but currently I'm stumped.

E: I got and installed the egenix.com version but this has not helped.

Re: Error Importing OpenSSL Module

Posted: February 18th, 2009, 5:35 am
by shypike
You should only use 32-bit versions of Python and all the modules.
Not all modules are 64-bit compliant.
Also Python 2.6 is not supported, since not all modules that we use support it.