[Pythonmac-SIG] (no subject)
bob at redivi.com
Wed Mar 24 15:47:32 EST 2004
On Mar 24, 2004, at 3:17 PM, pythonmac at gisborne.emailuser.net wrote:
>> On Mar 24, 2004, at 2:18 PM, pythonmac at gisborne.emailuser.net wrote:
>>> Panther. Latest update.
>>> Installed MacPython extensions for Panther.
>>> Installed wxPython for Panther.
>>> Go to /Applications/wxPythonOSX-188.8.131.52.
>>> Open Demos. Double-click on arbitrary demo. See this:
>>> $ "/usr/local/bin/pythonw"
>>> "/Applications/wxPythonOSX-184.108.40.206/demo/wxButton.pyc" && echo Exit
>>> status: $? && exit 1
>>> Traceback (most recent call last):
>>> File "/Applications/wxPythonOSX-220.127.116.11/demo/wxButton.py", line 2,
>>> in ?
>>> ImportError: No module named wxPython.wx
>>> Wonder about how to install packages on OS X.
>>> Search archives. Find assertion that packages go in
>>> Find followup posting in February by Bob saying that:
>>> site-packages itself is a symlink to /Library/Python/2.3
>>> Become further confused, because this is quite clearly *not* the
>>> case on my system -- the two folders have utterly disparate content.
>>> Try copying wxPython folder from /Library/Python/2.3 to
>>> Try to run demo again. Same result.
>>> Become utterly confused, decide to ask mailing list. Aim to put the
>>> answer on the FAQ, where it clearly belongs.
>> It sounds like the wxPython installer, or something else, broke your
>> installation. /System/Library/..../python2.3/site-packages SHOULD BE
>> a symlink to /Library/Python/2.3
> I remedied that, but I still got the same error.
> So I reinstalled wxPython. Still got the same error.
> So I reinstalled MacPython-Panther, then reinstalled wxPython. Still
> got the same error.
It's likely that installing wxPython is going to break this symlink
every time you do it. MacPython-Panther does not create this symlink
(it's there when you install 10.3), so re-installing it won't make a
More information about the Pythonmac-SIG