I am new (futur) of pylab,
I use a debian sid (unstable) with this source.list :
deb packages/
deb-src sources/
I try it few 2 mouths ago and it worked, I have just updated all and
now it does nit worked.
Sorry if the answer is in archive, I did’nt find it.
I have this message with from pylab import * :
Samuel
···
http://anakonda.altervista.org/debian
http://anakonda.altervista.org/debian
exceptions.ImportError Traceback (most
recent call last)
/home/sgarcia/
/usr/lib/python2.3/site-packages/pylab.py
-3 from matplotlib.pylab import *
/usr/lib/python2.3/site-packages/matplotlib/pylab.py
197
198 from axes import Axes, PolarAxes
–> 199 import backends
200 from cbook import flatten, is_string_like, exception_to_str,
popd, \
201 silent_list, iterable, enumerate
/usr/lib/python2.3/site-packages/matplotlib/backends/init.py
53 # a hack to keep old versions of ipython working with mpl after
bug
54 # fix #1209354
55 if 'IPython.Shell' in sys.modules:
—> 56 new_figure_manager, draw_if_interactive, show =
pylab_setup()
57
/usr/lib/python2.3/site-packages/matplotlib/backends/init.py in
pylab_setup()
22 backend_name = 'backend_'+backend.lower()
23 backend_mod =
import(‘matplotlib.backends.’+backend_name,
—> 24
globals(),locals(),[backend_name])
25
26 # Things we pull in from all backends
/usr/lib/python2.3/site-packages/matplotlib/backends/backend_gtkagg.py
8 from matplotlib.figure import Figure
9 from backend_agg import FigureCanvasAgg
—> 10 from backend_gtk import gtk, FigureManagerGTK,
FigureCanvasGTK,\
11 show, draw_if_interactive,\
12 error_msg_gtk, NavigationToolbar, PIXELS_PER_INCH,
backend_version, \
/usr/lib/python2.3/site-packages/matplotlib/backends/backend_gtk.py
20 from matplotlib.backend_bases import RendererBase,
GraphicsContextBase, \
21 FigureManagerBase, FigureCanvasBase, NavigationToolbar2,
cursors
—> 22 from matplotlib.backends.backend_gdk import RendererGDK,
FigureCanvasGDK
23 from matplotlib.cbook import is_string_like, enumerate
24 from matplotlib.figure import Figure
/usr/lib/python2.3/site-packages/matplotlib/backends/backend_gdk.py
32 from matplotlib.backends._na_backend_gdk import
pixbuf_get_pixels_array
33 else:
—> 34 from matplotlib.backends._nc_backend_gdk import
pixbuf_get_pixels_array
35
36
ImportError: libpangocairo-1.0.so.0: Ne peut ouvrir le fichier d’objet
partagé: Aucun fichier ou répertoire de ce type
-- Samuel GARCIA
CNRS - UMR5020
Universite Claude Bernard LYON 1
Laboratoire des Neurosciences et Systemes Sensoriels
50, avenue Tony Garnier
69366 LYON Cedex 07
04 37 28 74 64