Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Vista 64 + Python2.5 + wxpython 28 issue

Reply
Thread Tools

Vista 64 + Python2.5 + wxpython 28 issue

 
 
simonroses@granisla.com
Guest
Posts: n/a
 
      06-28-2007
Hello Guys,

I have installed python 2.5 (AMD64) on Vista (64), also installed wx 2.8
but I'm getting this error:

""""
Traceback (most recent call last):
File "mymodule.py", line 39, in <module>
import wx
File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py",
line 4
5, in <module>
from wx._core import *
File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 4, i
n <module>
import _core_
ImportError: DLL load failed with error code 193
"""

I have set python.exe to run under admin but that do not fix the problem.

Any ideas ?

Thanks!

Sincerely,

SRF

 
Reply With Quote
 
 
 
 
=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
Guest
Posts: n/a
 
      06-28-2007
> I have installed python 2.5 (AMD64) on Vista (64), also installed wx 2.8
> but I'm getting this error:
>
> """"
> Traceback (most recent call last):
> File "mymodule.py", line 39, in <module>
> import wx
> File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py",
> line 4
> 5, in <module>
> from wx._core import *
> File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
> line 4, i
> n <module>
> import _core_
> ImportError: DLL load failed with error code 193
> """
>
> I have set python.exe to run under admin but that do not fix the problem.
>
> Any ideas ?


193 means ERROR_BAD_EXE_FORMAT. Could it be that you are using a
32-bit extension DLL? How precisely did you "install" wx 2.8? Did
you rebuild it from source?

Regards,
Martin
 
Reply With Quote
 
 
 
 
Simon Roses Femerling
Guest
Posts: n/a
 
      06-28-2007
Hello Martin,

I installed wxpython 2.8 using the installer
(wxPython2.8-win32-unicode-2.8.4.0-py25.ex), yeah I assume is the 32 bits
version.

Is there any 64 version installer or do I need to build myself ?

Thanks,

SRF

-----Original Message-----
From: python-list-bounces+simonroses=(E-Mail Removed)
[mailtoython-list-bounces+simonroses=(E-Mail Removed)] On Behalf Of
"Martin v. L÷wis"
Sent: jueves, 28 de junio de 2007 22:08
To: http://www.velocityreviews.com/forums/(E-Mail Removed)
Subject: Re: Vista 64 + Python2.5 + wxpython 28 issue

> I have installed python 2.5 (AMD64) on Vista (64), also installed wx 2.8
> but I'm getting this error:
>
> """"
> Traceback (most recent call last):
> File "mymodule.py", line 39, in <module>
> import wx
> File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py",
> line 4
> 5, in <module>
> from wx._core import *
> File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
> line 4, i
> n <module>
> import _core_
> ImportError: DLL load failed with error code 193
> """
>
> I have set python.exe to run under admin but that do not fix the problem.
>
> Any ideas ?


193 means ERROR_BAD_EXE_FORMAT. Could it be that you are using a
32-bit extension DLL? How precisely did you "install" wx 2.8? Did
you rebuild it from source?

Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list


 
Reply With Quote
 
=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
Guest
Posts: n/a
 
      06-28-2007
> Is there any 64 version installer or do I need to build myself ?

There are hardly AMD64 versions of *anything* but the base Python
distribution. I strongly advise to use the 32-bit version on AMD64
(in fact, I see little reason to run Win64 at all unless you have
more that 4GiB in the box, or unless you are developing a software
product that you explicitly target for Win64).

If you absolutely need to run 64-bit code, be prepared to compile
everything for yourself, and be prepared that it won't work out
of the box, and cost you many person days to fix and debug. Never
forget to feed back the fixes you make to the respective authors
of the open source software.

Notice that you won't just need a 64-bit version of wxpython,
but also such versions of all underlying libraries wxpython
happens to be build on.

Regards,
Martin
 
Reply With Quote
 
Simon Roses Femerling
Guest
Posts: n/a
 
      06-29-2007
Hello Martin,

Thanks for your reply.

There was no need for me to use 64 so I have switched back to 32 and works
fine.

Python is not ready for the 64 world yet

Sincerely,

SRF

-----Original Message-----
From: "Martin v. L÷wis" [(E-Mail Removed)]
Sent: jueves, 28 de junio de 2007 23:25
To: Simon Roses Femerling
Cc: (E-Mail Removed)
Subject: Re: Vista 64 + Python2.5 + wxpython 28 issue

> Is there any 64 version installer or do I need to build myself ?


There are hardly AMD64 versions of *anything* but the base Python
distribution. I strongly advise to use the 32-bit version on AMD64
(in fact, I see little reason to run Win64 at all unless you have
more that 4GiB in the box, or unless you are developing a software
product that you explicitly target for Win64).

If you absolutely need to run 64-bit code, be prepared to compile
everything for yourself, and be prepared that it won't work out
of the box, and cost you many person days to fix and debug. Never
forget to feed back the fixes you make to the respective authors
of the open source software.

Notice that you won't just need a 64-bit version of wxpython,
but also such versions of all underlying libraries wxpython
happens to be build on.

Regards,
Martin


 
Reply With Quote
 
=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
Guest
Posts: n/a
 
      06-29-2007
> There was no need for me to use 64 so I have switched back to 32 and works
> fine.
>
> Python is not ready for the 64 world yet


It's a matter of standpoint. 64 bit is not ready for the world, yet.

Regards,
Martin
 
Reply With Quote
 
William Heymann
Guest
Posts: n/a
 
      06-30-2007
On Friday 29 June 2007, Martin v. L÷wis wrote:
> > There was no need for me to use 64 so I have switched back to 32 and
> > works fine.
> >
> > Python is not ready for the 64 world yet

>
> It's a matter of standpoint. 64 bit is not ready for the world, yet.
>
> Regards,
> Martin


I think you mean 64bit windows. 64bit linux has been working great. I use
64bit python and zope every day and they work very well and the ability to
use more memory then 4G is very handy for my tests.
 
Reply With Quote
 
Jorgen Grahn
Guest
Posts: n/a
 
      07-03-2007
On Fri, 29 Jun 2007 21:15:00 -0600, William Heymann <(E-Mail Removed)> wrote:
> On Friday 29 June 2007, Martin v. L÷wis wrote:
>> > There was no need for me to use 64 so I have switched back to 32 and
>> > works fine.
>> >
>> > Python is not ready for the 64 world yet

>>
>> It's a matter of standpoint. 64 bit is not ready for the world, yet.

>
> I think you mean 64bit windows. 64bit linux has been working great.


Put differently: when everybody has a C compiler and the C source code
for things tends to be available, any change to the CPU architecture
is mostly painless.

/Jorgen

--
// Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
\X/ snipabacken.dyndns.org> R'lyeh wgah'nagl fhtagn!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[wxPython-users] ANNOUNCE: wxPython 2.6.3.0 Robin Dunn Python 0 03-28-2006 06:03 PM
[wxPython-users] Web based applications are possible with wxPython? Ruben Charles Python 6 10-25-2005 09:41 PM
wxPython - wx package (new style wxPython?) Logan Python 5 12-11-2003 04:12 PM
[PY GUI] interest function in python GUI(wxpython,pyqt) program.wxpython,pyqt ulysses Python 4 10-22-2003 03:28 PM
wxPython looses function "wxPython.wx.miscc" Anand Python 1 07-23-2003 01:59 AM



Advertisments