|
From: John H. <jdh...@ac...> - 2006-03-22 18:21:45
|
>>>>> "Tom" == Tom Loredo <lo...@as...> writes:
Tom> Hi folks,
Tom> I've just installed MacPy 2.4.1, the latest numpy & scipy,
Tom> and mpl-0.87.2 on a colleague's Panther PowerBook. numpy &
Tom> scipy installed fine and passed all tests. For mpl, we
Tom> installed zlib from source, and initially installed Freetype2
Tom> and libpng via the i-Installer. mpl built and installed
Tom> fine, but gave a bus error when trying to plot ("import
Tom> matplotlib" would work fine, but "import pylab" would give
Tom> the error).
It would be useful to create a test script
from pylab import figure, show
fig = figure()
ax.plot((1,2,3))
fig.savefig('test')
show()
and run it under different backends
> python myscript.py -dPS
> python myscript.py -dAgg
> python myscript.py -dTkAgg
to see if all have the bus error. If we could isolate it to TkAgg or
*Agg, that would be informative.
Also, try installing Numeric and test to see if it is numpy specific
> python myscript.py --Numeric
> python myscript.py --numpy
JDH
|