The technical set up: OSX 10.4, MPL 0.87.4, numeric, numarray and numpy installed. While I've successfully installed and used MPL before, this is a new MacBook and so it's the first time it's been installed here. (Caveat: MPL may have been installed silently in an egg or a package that I used to install another package, like a SciPy distribution.) I built and installed MPL as usual. this appears to be fine and `import matplotlib` works ok. However the problem comes when I go to `import pylab`. Initially it complains that it cannot import pylab because it fails on line 74 of `matplotlib/numerix/__init__.py` where `Matrix = matrix`. Investigation showed that just above that position, numpy was being used as the numerical library and the import was thus: import numpy.oldnumeric as numpy from numpy.oldnumeric import * However, oldnumeric doesn't define a term "matrix". Setting MPL to use Numeric instead of Numpy, this step is passed but I run into the next error, also at the "import pylab" stage: 21:15:23: Debug: ../src/common/object.cpp(224): assert "sm_classTable->Get(m_className) == NULL" failed: class already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() twice (may be by linking some object module(s) twice)? ../src/common/object.cpp(224): assert "sm_classTable->Get(m_className) == NULL" failed: class already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() twice (may be by linking some object module(s) twice)? Initially I thought that this may have been the result of old settings hanging around, but I cleaned all vestigaes of MPL & PyLab from my system and got a fresh copy of the MPL source, before trying again. Same result. Any ideas on where I should look next? Apart from a downgrade, I'm at a loss. p -- Dr Paul-Michael Agapow, VieDigitale / Institute of Animal Health |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users