After struggling a lot to build pymqi ,i finally built it. but now when i import the pymqi library its throwing an error message :
>>> import pymqi
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pymqi\__init__.py", line 109, in <module>
import pymqe, CMQC, CMQCFC, CMQXC
ImportError: DLL load failed: %1 is not a valid Win32 application.
In case some one wants the build log :