Hi folks,
I've just installed MacPy 2.4.1, the latest numpy & scipy, and
mpl-0.87.2 on a colleague's Panther PowerBook. numpy & scipy
installed fine and passed all tests. For mpl, we installed
zlib from source, and initially installed Freetype2 and libpng
via the i-Installer. mpl built and installed fine, but gave
a bus error when trying to plot ("import matplotlib" would
work fine, but "import pylab" would give the error).
The .matplotlib/matplotlibrc file we're using does have TkAgg
and numpy specified, and we've verified that Tkinter is
working via a "Hello World" test script.
Suspecting one of the libraries, we then installed Freetype2
and libpng from source. We deleted all the mpl stuff in
site-packages and the mpl build directory, and built and
installed mpl again from scratch. We still get a bus error
from pylab. I am stumped as to what to try next. I've
copied verbose output below; I hope someone can offer us
some clues.
Thanks,
Tom Loredo
$ pythonw simple_plot.py --verbose-debug-annoying
matplotlib data path
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/mpl-data
$HOME=/Users/bill
CONFIGDIR=/Users/bill/.matplotlib
loaded rc file /Users/bill/.matplotlib/matplotlibrc
matplotlib version 0.87.2
verbose.level debug-annoying
interactive is False
platform is darwin
loaded modules: ['pylab', '_bisect', '__future__', 'copy_reg',
'sre_compile', 'distutils', 'itertools', '_sre', '__main__', 'site',
'__builtin__', 'datetime', 'matplotlib.re', 'matplotlib.tempfile',
'encodings', 'pytz.datetime', 'shutil', 'distutils.string',
'dateutil', 'matplotlib.datetime', 'posixpath', '_random',
'tempfile', 'errno', 'matplotlib.warnings', 'binascii',
'encodings.codecs', 'sre_constants', 're', 'matplotlib.md5',
'os.path', 'pytz.sys', '_codecs', 'distutils.sysconfig',
'encodings.exceptions', 'pytz.sets', 'math', 'fcntl', 'stat',
'zipimport', 'string', 'warnings', 'encodings.types', 'UserDict',
'encodings.ascii', 'matplotlib.sys', 'matplotlib', 'distutils.os',
'sys', 'pytz.tzinfo', 'pytz', 'matplotlib.__future__', 'codecs',
'distutils.re', 'matplotlib.pytz', 'types', 'md5',
'matplotlib.dateutil', 'matplotlib.os', 'thread', 'sre', 'bisect',
'matplotlib.distutils', 'signal', 'distutils.errors', 'random',
'linecache', 'matplotlib.shutil', 'posix', 'encodings.aliases',
'sets', 'exceptions', 'sre_parse', 'pytz.bisect', 'distutils.sys',
'os', 'strop']
numerix numpy 0.9.6
Bus error
···
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/