From: Kevin A. <al...@se...> - 2004-08-29 01:47:11
|
On Aug 28, 2004, at 5:59 PM, B=F8rre Ludvigsen wrote: > > > I get: > > [zaynab:borrel]/PythonCard/samples/minimal 6% python minimal.py > dyld: python malformed library: > /Applications/OpenOffice.org1.1.2/program/Python (not a Mach-O file,=20= > bad > magic number) > Trace/BPT trap > [zaynab:borrel]/PythonCard/samples/minimal 7% > > Now what? > It looks like you're on a Mac, so are you running Jaguar or Panther?=20 Did you follow the install instructions at: http://pythoncard.sourceforge.net/installation.html It appears that a copy of Python was installed as part of OpenOffice=20 and that is what is being used instead of the system python, but I=20 haven't used OpenOffice on the Mac so I don't know what its installer=20 does. When you type "which python" in the Terminal on a Mac OS X=20 (Panther) system you should get back /usr/bin/python. Does wxPython run correctly? Again, on a panther system the wxPython=20 and wx packages should have been installed into /Library/Python/2.3 and=20= if you ran the PythonCard setup.py script as detailed in the=20 installation instructions it should have gone in that directory as=20 well. It definitely should not be at a top-level directory such as=20 /PythonCard. ka |