[Pythonmac-SIG] py2app and matplotlib
Christopher Barker
Chris.Barker at noaa.gov
Thu Mar 27 01:18:54 CET 2008
Hi all,
I'm having trouble getting py2app to work with matplotlib. There is a
matplotlib recipe, but it's out of date, and some things have changed.
The first error I got was not being able to find pytz.zoneinfo. As
that's in a different place now, I commented it out of the matplotlib.py
recipe.
However, now I'm getting an error that I don't even know how to begin to
solve:
...
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 106,
in load_header
hdr = MachOHeader(self, fh, offset, size, magic, hdr, endian)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 146,
in __init__
self.load(fh)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 178,
in load
raise ValueError("Unknown load command: %d" % (cmd_load.cmd,))
ValueError: Unknown load command: 27
>
/Users/cbarker/HAZMAT/SmallToolsSVN/phCalculator/trunk/build/bdist.macosx-10.3-fat/egg/macholib/MachO.py(178)load()
Enclosed is about the simplest matplotlib script, and a test_setup
script to py2app it -- anyone have any ideas?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: text/x-python
Size: 155 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20080326/56635228/attachment.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_setup.py
Type: text/x-python
Size: 608 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20080326/56635228/attachment-0001.py
More information about the Pythonmac-SIG
mailing list