One way that I was able to get a working version of these libraries on my Intel Mac running 10.5 (Leopard) was to download the SciPy SuperPack from macinscience.org
[
macinscience.org]
Download their shell script for installation and run that with
sh superpack.sh
# enter your password when prompted for installation.
# This requires administrator (su) access for installation
Note wxPython is not included in this pack, so you may have to get that too
(as I needed to).
[
downloads.sourceforge.net]
Install the dmg file. Remove any existing wxPython by selecting that the uninstall script in the package. Then install the package itself by selecting the wxPython2.8-osx-unicode-universal-py2.5.pkg.
The xmat_tool.py script can test for the library dependencies with :
xmat_tool.py -test_libs
To run, use the -help option or run with no option and select from the GUI.