I'm trying to migrate from numarray to numpy.

By and large it is reasonably painless, substituting itemsize for itemsize() and numarray.mlab.squeeze/tri with numpy.squeeze/tri are all I have encountered so far.

However, I have not been able to get the numpy distribution of matplotlib working on OS-X

The matplotlib egg is installed to:
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-macosx-10.4-ppc.egg
where I also have installed:
numarray-1.5.1-py2.4-macosx-10.4-ppc.egg
numpy-0.9.5.2053-py2.4-macosx-10.4-ppc.egg
scipy-0.4.5.1597-py2.4-macosx-10.4-ppc.egg


then
% python
>>> import pylab
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-macosx-10.4-ppc.egg/pylab.py", line 1, in ?
    from matplotlib.pylab import *
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-macosx-10.4-ppc.egg/matplotlib/__init__.py", line 744, in ?
    defaultParams = {
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-macosx-10.4-ppc.egg/matplotlib/__init__.py", line 273, in wrapper
    ret = func(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-macosx-10.4-ppc.egg/matplotlib/__init__.py", line 434, in _get_data_path
    raise RuntimeError('Could not find the matplotlib data files')
RuntimeError: Could not find the matplotlib data files

BTW, are there eggs for freetype/py-gtk etc. I've been using darwinports till now.

regards,

Graeme


Graeme O'Keefe, PhD, MACPSEM

Principal Medical Physicist

Centre for PET

Austin Hospital

Tel: (613)-9496-5767

Fax: (613) 9458-5023