Okay, I appear to have my self in dependency hell now :s I'm trying to get a working installation of numpy,scipy and mpl together. I'm going about this using the scipy superpack download, which contains all three and a few supporting things. Trouble is, the build of mpl contained in the superpack is missing it's __init__.py file - so python doesnt recognise it as a module to import.
It was suggested by the SciPy crowd that I should pinch the __init__.py from a 'working' package of mpl and using that to make the module work. Sounds a bit of a bodged way of doing this, and indeed, using the __init__.py from the most recent mpl release produces the following: >>> from pylab import * Traceback (most recent call last): File "<stdin>", line 1, in ? File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/pylab.py", line 1, in ? from matplotlib.pylab import * File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/pylab.py", line 200, in ? from axes import Axes, PolarAxes File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/axes.py", line 15, in ? from axis import XAxis, YAxis File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/axis.py", line 25, in ? from font_manager import FontProperties File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py", line 39, in ? from matplotlib import ft2font ImportError: Failure linking new module: /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/ft2font.so: Library not loaded: /usr/local/lib/libfreetype.6.dylib Referenced from: /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/ft2font.so Reason: image not found libfreetype issues. Anyone got a solution to this problem that will get me a working install of all 3 modules? Cheers, Dave On 15/09/06, Charlie Moad <[EMAIL PROTECTED]> wrote: > mpl 0.87.5 is compiled against numpy 1.0b5. It should remain > compatible with future release of 1.0. > > On 9/15/06, David Andrews <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > > > I'm confused as to what version of NumPy this most recent release of > > matplotlib wants to be used with - I get the following message: > > > > >>> from pylab import * > > RuntimeError: module compiled against version 1000002 of C-API but > > this version of numpy is 1000000 > > ...etc > > > > This suggests to me that my current version of numpy is out of date. > > The most recent version of numpy on their sourceforge site is > > apparently 0.9.8, and a beta version - 1.0b5 > > > > Cheers, > > > > Dave > > > > ------------------------------------------------------------------------- > > 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 > > > ------------------------------------------------------------------------- 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