From: Kevin A. <al...@se...> - 2004-06-05 17:50:55
|
On Jun 5, 2004, at 9:50 AM, Tony Maniaci wrote: > I followed the instructions for Mac OS 10.3 Panther and the Pythoncard > and wxPython folders are in the site packages folder but when a double > click on a py app it does not find wx, it can't import wx. > Well there are a number of possible problems. Can you run the wxPython demo? Which version of wxPython is installed? Can you run Pythoncard apps from the command-line? For example: [mac:~/python/PythonCard] altis% pythonw samples/minimal/minimal.py If you can run from the command-line, but not from the Finder, then I'm assuming what is messed up is your PythonLauncher setup and you need to recheck that. If you had an older version of Python and wxPython on your box, perhaps because you upgraded from Jaguar to Panther, then there could be a problem with multiple versions of conflicting libs and paths. Just for completeness, here is what Python and wxPython report for me, again from the command-line shell. [mac:~/python/PythonCard] altis% pythonw Python 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from wxPython import wx >>> wx.__version__ '2.5.1.5' ka |