471,348 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

Vista 64 + Python2.5 + wxpython 28 issue

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

Jun 28 '07 #1
7 8388
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
Jun 28 '07 #2
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: py*****************************************@python .org
[mailto:py***************************************** @python.org] On Behalf Of
"Martin v. Löwis"
Sent: jueves, 28 de junio de 2007 22:08
To: py*********@python.org
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
Jun 28 '07 #3
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
Jun 28 '07 #4
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" [mailto:ma****@v.loewis.de]
Sent: jueves, 28 de junio de 2007 23:25
To: Simon Roses Femerling
Cc: py*********@python.org
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
Jun 29 '07 #5
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
Jun 29 '07 #6
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.
Jun 30 '07 #7
On Fri, 29 Jun 2007 21:15:00 -0600, William Heymann <ko**@aesaeion.comwrote:
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!
Jul 3 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

25 posts views Thread by BJörn Lindqvist | last post: by
22 posts views Thread by Glurt Wuntal | last post: by
6 posts views Thread by Robin Dunn | last post: by
reply views Thread by Robin Dunn | last post: by
14 posts views Thread by Stephany Young | last post: by
1 post views Thread by franko353 | last post: by
11 posts views Thread by idoublepress | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.