[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: python matplotlib debian package



On 10/6/05, Andrea De Michele - <demich@df.unipi.it> wrote:
> Thank you,
> but I have tried it and I have a problem,
> when I import pylab,or I run
>
> ipython -pylab
>
> I obtain the following error:
>
> ImportError: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory

I think this is what was meant by Ken via Carlo regarding matplotlib
being a 'moving target'. Lately, I've run into frequent errors
depending on the backend I choose.

To fix the libpangocairo error, edit the
/usr/share/matplotlib/matplotlibrc and change the backend. Currently
WXagg works for me, but GTKAgg results in the error you mentioned.

Note: I think I was using WXAgg up until a few weeks ago and had to
switch to GTKAgg because something else was broken. Such is life. I
still have to comment that I've been very happy with matplotlib and
I'm using it to generate *.eps figures for a journal article.
Hope that helps,
JDR



Reply to: