7
7stud
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?
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?