473,385 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 8511
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: BJörn Lindqvist | last post by:
See: http://www.wxpython.org/quotes.php. especially: "wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard...
22
by: Glurt Wuntal | last post by:
I am a newbie with Python. It's a great language, but I would like to be able to present a simple gui menu for some of my scripts; something better than using 'raw_input' prompts. Any...
6
by: Robin Dunn | last post by:
Announcing ---------- The 2.6.3.2 release of wxPython is now available for download at http://wxpython.org/download.php. This is a mostly bug fix release and takes care of several "unfortunate...
0
by: Robin Dunn | last post by:
Announcing ---------- The 2.6.3.2 release of wxPython is now available for download at http://wxpython.org/download.php. This is a mostly bug fix release and takes care of several "unfortunate...
14
by: Stephany Young | last post by:
Even though I had my roots and highlights redone just a few days ago, I don't understand why I appear to be having an ongoing blond moment. Is it just me or do others among you not 'get' how to...
1
by: franko353 | last post by:
I have wxPython programs that work fine in Win2000/XP using os.exec(). They do not work in MS Vista. Has anyone else had any luck with exec()? I keep getting an 'invalid option' error. It...
11
by: idoublepress | last post by:
Hi all, I've been struggling with an issue that I hope you can comment on or provide suggestions to. Our .NET 2.0 (VS2005) based product is crashing (when the user selects a particular feature on...
10
by: nik | last post by:
Hi, I've compiled my application on my vista machine, and it won't run at all on my xp machine. In the windows error report I get Exception code; 0xe0434f4d. I searched for that exception, but...
2
by: Tam | last post by:
Im running into problems installing either VS 05 or 08 on a Vista Premium 64 bit machine and, ahem, it isnt going sweetly. When installing i get an "Error 1935.An error occured during the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.