473,563 Members | 2,856 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.p y", line 39, in <module>
import wx
File "C:\Python25\Li b\site-packages\wx-2.8-msw-unicode\wx\__in it__.py",
line 4
5, in <module>
from wx._core import *
File "C:\Python25\Li b\site-packages\wx-2.8-msw-unicode\wx\_cor e.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 8518
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.p y", line 39, in <module>
import wx
File "C:\Python25\Li b\site-packages\wx-2.8-msw-unicode\wx\__in it__.py",
line 4
5, in <module>
from wx._core import *
File "C:\Python25\Li b\site-packages\wx-2.8-msw-unicode\wx\_cor e.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_F ORMAT. 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************* *************** *************@p ython.org
[mailto:py****** *************** *************** *****@python.or g] On Behalf Of
"Martin v. Löwis"
Sent: jueves, 28 de junio de 2007 22:08
To: py*********@pyt hon.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.p y", line 39, in <module>
import wx
File "C:\Python25\Li b\site-packages\wx-2.8-msw-unicode\wx\__in it__.py",
line 4
5, in <module>
from wx._core import *
File "C:\Python25\Li b\site-packages\wx-2.8-msw-unicode\wx\_cor e.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_F ORMAT. 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*********@pyt hon.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.dyn dns.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
3330
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 Python GUI toolkit is that Tkinter was there first." - Guido van Rossum Guess, that answers my question, but isn't "Tkinter was there first" a...
22
5032
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 recommendations for a program that will allow me to create the gui screens? Something useable in Linux. thanks.
6
2394
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 features" discovered in the 2.6.3.0 release made last week. A summary of changes is listed below and at http://wxpython.org/recentchanges.php.
0
1306
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 features" discovered in the 2.6.3.0 release made last week. A summary of changes is listed below and at http://wxpython.org/recentchanges.php.
14
2077
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 make C# and VB.Net applications play nicely with the the UAC on Vista. I have read and reread everything I can find on UAC, 'strong-naming' of...
1
1584
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 turn out it was really a security issue and I had to move to a "win32process.CreateProcess" solution to fix this under Vista.
11
1907
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 the UI) on Vista. It works fine on XP. In a nutshell: - user makes a selection on the UI - System.Reflection.MethodInfo.Invoke() calls into...
10
1801
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 didn't see anything related to my problem The xp machine does have vb6 installed on it, could that be an issue? What reasons and solutions for...
2
2004
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 installation of assembly component" when installing either 05 or 08. Vista Premium comes with .NET Framework 2.0 and Framework 3.5 which are both...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.