[Tutor] ImportError: 'DLL load failed: %1 is not a valid Win32 application.'

Walter Prins wprins at gmail.com
Fri Oct 11 12:25:36 CEST 2013


Hi,


On 10 October 2013 11:34, Sreenivasulu <vaddesreenivasulu at gmail.com> wrote:

> Hi,
>
> I have windows 8 64 bit machine  and installed python 2.7.3  64 bit
> version .
>
> i have 32 bit package 4Suite-XML-1.0.24Suite-XML-1.0.2.win32.exe  package
> but am getting below error :
>
> Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
> on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>>  from Ft.Xml.Lib.XmlString import SplitQName
>
> ImportError: 'DLL load failed: %1 is not a valid Win32 application.'
>
> Please help me how to run win32 modules in 64 bit .
>

You can't use 32 bit Python modules with 64-bit Python.

Either install 32-bit python and use the 32-bit Python module with 32-bit
Python (probably the simplest solution for you for now), or alternatively
find (or compile/build yourself -- very non-trivial) a 64-bit build of the
module you're wanting to use and install that instead of the 32-bit
version.

Often http://www.lfd.uci.edu/~gohlke/pythonlibs/ will have unofficial
64-bit versions of many common 32-bit Python modules, but unfortunately
this particular package is not listed there.

Walter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131011/0304c5e6/attachment.html>


More information about the Tutor mailing list