Hi,
I'm using an intel imac which came with python 2.3.5 pre-intstalled on
OS 10.4.7. I was able run a hello world wxPython script in Terminal
by typing:
$pythonw wxPythonTest.py
Yesterday, I installed python 2.4.4 which I downloaded from the
MacPython website, and it seems to have installed correctly:
$python
Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
However, now when I try to run my hello world wxPython script in
Terminal, I get the error message:
Traceback (most recent call last):
File "wxPythonTest.py", line 1, in ?
import wx
ImportError: No module named wx
Does that mean I need to install a newer version of wxPython? If so,
I'm not sure how to proceed. The wxPython download page says:
-----
The Max OSX version of wxPython is distributed as a set of mountable
disk images. The runtime verisons contain Installer packages, as well
as a script that can perform an uninstall of previous installs of
wxPython. (NOTE: If you have versions prior to 2.5.3.1 installed
please do run the uninstaller to remove the older version.)
------
I looked around in Finder, but I can't tell what version of wxPython
that came pre-installed on my imac, so I am not sure whether I need to
uninstall it.
Also, what wxPython download should I install? 4 5079
7stud wrote:
Hi,
I'm using an intel imac which came with python 2.3.5 pre-intstalled on
OS 10.4.7. I was able run a hello world wxPython script in Terminal
by typing:
$pythonw wxPythonTest.py
Yesterday, I installed python 2.4.4 which I downloaded from the
MacPython website, and it seems to have installed correctly:
Why 2.4.4 instead of the official 2.5 binary from www.python.org? http://www.python.org/download/
$python
Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
However, now when I try to run my hello world wxPython script in
Terminal, I get the error message:
Traceback (most recent call last):
File "wxPythonTest.py", line 1, in ?
import wx
ImportError: No module named wx
Does that mean I need to install a newer version of wxPython?
The packages that are installed (or you might install) for Python 2.3 are
entirely separate from those that you would install for Python 2.4. It's not
that you need a newer version of wxPython; it's that you need to install one for
Python 2.4 period.
Also, what wxPython download should I install?
For 2.4: http://prdownloads.sourceforge.net/w...10.4-py2.4.dmg
For 2.5: http://prdownloads.sourceforge.net/w...10.4-py2.5.dmg
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
On Apr 8, 8:46 pm, Robert Kern <robert.k...@gmail.comwrote:
7stud wrote:
Why 2.4.4 instead of the official 2.5 binary fromwww.python.org?
http://www.python.org/download/
1) On some download page that listed both python 2.5 and 2.4, it said
that python 2.4 had more packages/modules available for Macs than 2.5.
2) The wxPython website says that to use wxPython on a Mac, you need a
special "framework" build of python--like the one that comes
preinstalled. It says framework builds are available for python 2.4.
Should I remove 2.4.4 and install 2.5 instead?
>
Also, what wxPython download should I install?
For 2.4:http://prdownloads.sourceforge.net/w...-osx-unicode-2...
For 2.5:http://prdownloads.sourceforge.net/w...-osx-unicode-2...
Thanks.
7stud wrote:
On Apr 8, 8:46 pm, Robert Kern <robert.k...@gmail.comwrote:
>Why 2.4.4 instead of the official 2.5 binary fromwww.python.org?
http://www.python.org/download/
1) On some download page that listed both python 2.5 and 2.4, it said
that python 2.4 had more packages/modules available for Macs than 2.5.
That's probably still a fair statement.
2) The wxPython website says that to use wxPython on a Mac, you need a
special "framework" build of python--like the one that comes
preinstalled. It says framework builds are available for python 2.4.
The 2.5 binary on www.python.org is also a framework build.
Should I remove 2.4.4 and install 2.5 instead?
No, it's okay.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
On Apr 9, 8:10 am, Robert Kern <robert.k...@gmail.comwrote:
Should I remove 2.4.4 and install 2.5 instead?
No, it's okay.
--
Robert Kern
Ok, thanks. I'll download wxPython and see if I can get it installed
properly. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ubaidullah Nubar |
last post by:
Hi,
How well is Python suited for developing database based applications?
I am new to Python so please bear with me if some of the questions are
too simple. I specifically have the following...
|
by: Logan |
last post by:
Several people asked me for the following HOWTO, so I decided to
post it here (though it is still very 'alpha' and might contain
many (?) mistakes; didn't test what I wrote, but wrote it - more
or...
|
by: Equis Uno |
last post by:
Hi,
I'm trying to run some Python software I downloaded off of sf.net.
It's called Boa.
It uses wxPython.
It appears my install of Python cannot see my install of wxPython.
|
by: flupke |
last post by:
Hi,
i'm trying to get boa constructor working with Python 2.3.4
At first i tried with boa 0.2.3 but that gave me an error. After
searching the web, it appeared that it's best to work with the...
|
by: Kenneth McDonald |
last post by:
If this is not an appropriate newsgroup for this type of posting,
please let me know and (if possible) suggest an alternative. I've
done a fair bit of research on the net, but information is...
|
by: Sathyaish |
last post by:
My question will sound daft to the good old craftsmen, but they will
excuse my nescience on the subject. I come new to the Pythonic world
from the land of .NET languages, VB6 and some familiarity...
|
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...
|
by: filippo |
last post by:
Hello,
I coded my +10k lines app using Perl/Tk. It is something like a hotel
software manager, it has a bunch of windows to manage the arrivals,
bills etc etc. I want to port this on...
|
by: Thorsten Kampe |
last post by:
Hi,
I've already sent this to the Komodo mailing list (which seemed to me
the more appropriate place) but unfortunately I got no response.
I'd like to build a Python GUI app. Neither Tkinter...
|
by: erikbower65 |
last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps:
1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal.
2. Connect to...
|
by: linyimin |
last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: DJRhino1175 |
last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this -
If...
|
by: Rina0 |
last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
|
by: lllomh |
last post by:
How does React native implement an English player?
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
| | |