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 5115
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: 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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
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...
|
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,...
|
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$) {
}
...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| | |