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

2013-10-15 Thread Dave Angel
On 10/10/2013 06:34, Sreenivasulu 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 :

Can't do it.  32 bit dll's cannot be loaded by 64 bit exes.  If you
need to use that particular DLL, get a 32bit version of Python.  Or if
you can find or build a 64bit version of the DLL, it could work with the
64bit Python.


-- 
DaveA


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


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

2013-10-11 Thread Sreenivasulu
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 .

Thanks  Regards,
SReeni.
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


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

2013-10-11 Thread Chris Down
On 2013-10-10 16:04, Sreenivasulu wrote:
 ImportError: 'DLL load failed: %1 is not a valid Win32 application.'

 Please help me how to run win32 modules in 64 bit .

If I'm reading that correctly, that's not an error about running a 32-bit
application in a 64-bit environment, but an error about it not being a valid
32-bit application in the first place...

I have no idea what I'm talking about when it comes to Windows though, so who
knows.


pgpTZTFeAn4MH.pgp
Description: PGP signature
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


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

2013-10-11 Thread Walter Prins
Hi,


On 10 October 2013 11:34, Sreenivasulu vaddesreenivas...@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
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor