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
from pylab import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
line 1, in ?
from matplotlib.pylab import *
line 200, in ?
from axes import Axes, PolarAxes
line 15, in ?
from axis import XAxis, YAxis
line 25, in ?
from font_manager import FontProperties
line 39, in ?
from matplotlib import ft2font
ImportError: Failure linking new module:
Library not loaded: /usr/local/lib/libfreetype.6.dylib
Reason: image not found
Anyone got a solution to this problem that will get me a working
install of all 3 modules?
On 15/09/06, Charlie Moad <cwmoad@...287...> 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 <irbdavid@...287...> 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
> 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
> 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
> Matplotlib-users mailing list