[Python-modules-team] Bug#587973: python-matplotlib: problem when importing pylab
Picca Frederic-Emmanuel
picca at synchrotron-soleil.fr
Sat Jul 3 12:24:18 UTC 2010
Package: python-matplotlib
Version: 0.99.3-1
Severity: normal
Hello
Here the error message when I try to import pylab
picca at mordor:~$ python
Python 2.6.5+ (release26-maint, Jul 1 2010, 00:47:18)
[GCC 4.4.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from matplotlib import pylab
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.6/matplotlib/pylab.py", line 247, in <module>
from matplotlib.pyplot import *
File "/usr/lib/pymodules/python2.6/matplotlib/pyplot.py", line 78, in <module>
new_figure_manager, draw_if_interactive, show = pylab_setup()
File "/usr/lib/pymodules/python2.6/matplotlib/backends/__init__.py", line 25, in pylab_setup
globals(),locals(),[backend_name])
File "/usr/lib/pymodules/python2.6/matplotlib/backends/backend_tkagg.py", line 7, in <module>
import Tkinter as Tk, FileDialog
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 42, in <module>
raise ImportError, str(msg) + ', please install the python-tk package'
ImportError: No module named _tkinter, please install the python-tk package
So it seems that a dependency to python-tk is missing.
See you
Frederic
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-matplotlib depends on:
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-4 The Cairo 2D vector graphics libra
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.4.4-6 GCC support library
ii libglib2.0-0 2.24.1-1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface
ii libpango1.0-0 1.28.1-1 Layout and rendering of internatio
ii libpng12-0 1.2.44-1 PNG library - runtime
ii libstdc++6 4.4.4-6 The GNU Standard C++ Library v3
ii python 2.6.5-5 An interactive high-level object-o
ii python-cairo 1.8.8-1+b1 Python bindings for the Cairo vect
ii python-dateutil 1.4.1-3 powerful extensions to the standar
ii python-gobject 2.21.1-2 Python bindings for the GObject li
ii python-matplotlib-data 0.99.3-1 Python based plotting system (data
ii python-numpy 1:1.3.0-3+b2 Numerical Python adds a fast array
ii python-pyparsing 1.5.2-2 Python parsing module
ii python-support 1.0.9 automated rebuilding support for P
ii python-tz 2010b-1 Python version of the Olson timezo
ii tcl8.5 8.5.8-2 Tcl (the Tool Command Language) v8
ii tk8.5 8.5.8-1 Tk toolkit for Tcl and X11, v8.5 -
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages python-matplotlib recommends:
ii python-glade2 2.17.0-2 GTK+ bindings: Glade support
pn python-tk <none> (no description available)
Versions of packages python-matplotlib suggests:
pn dvipng <none> (no description available)
ii ipython 0.10-2 enhanced interactive Python shell
ii librsvg2-common 2.26.3-1 SAX-based renderer library for SVG
ii python-configobj 4.7.2+ds-1 simple but powerful config file re
pn python-excelerator <none> (no description available)
ii python-gtk2 2.17.0-2 Python bindings for the GTK+ widge
pn python-matplotlib-doc <none> (no description available)
pn python-qt3 <none> (no description available)
ii python-qt4 4.7.3-1+b1 Python bindings for Qt4
ii python-scipy 0.7.2-2 scientific tools for Python
pn python-traits <none> (no description available)
pn python-wxgtk2.8 <none> (no description available)
ii texlive-extra-utils 2009-9 TeX Live: TeX auxiliary programs
pn texlive-latex-extra <none> (no description available)
-- no debconf information
More information about the Python-modules-team
mailing list