[Python-modules-team] Bug#750630: python-matplotlib: Default backend 'tkagg' broken

Rolf Wuerdemann rowue at digitalis.org
Mon Jun 9 12:32:07 UTC 2014


Package: python-matplotlib
Version: 1.3.1-1+b2
Followup-For: Bug #750630

Dear Maintainer,

After updating to 1.3.1-1+b2 I was unable to import pyplot from matplotlib:

>>> from matplotlib import pyplot
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 98, in
<module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show =
pylab_setup()
  File "/usr/lib/pymodules/python2.7/matplotlib/backends/__init__.py", line 28,
in pylab_setup
    globals(),locals(),[backend_name],0)
  File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py",
line 11, in <module>
    import matplotlib.backends.tkagg as tkagg
  File "/usr/lib/pymodules/python2.7/matplotlib/backends/tkagg.py", line 2, in
<module>
    from matplotlib.backends import _tkagg
ImportError: cannot import name _tkagg

Befor loading (and plotting) works like a charm.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-matplotlib depends on:
ii  libatk1.0-0                       2.12.0-1
ii  libc6                             2.18-7
ii  libcairo2                         1.12.16-2
ii  libfontconfig1                    2.11.0-5
ii  libfreetype6                      2.5.2-1
ii  libgcc1                           1:4.9.0-5
ii  libgdk-pixbuf2.0-0                2.30.7-1
ii  libglib2.0-0                      2.40.0-3
ii  libgtk2.0-0                       2.24.23-1
ii  libpango-1.0-0                    1.36.3-1
ii  libpangocairo-1.0-0               1.36.3-1
ii  libpangoft2-1.0-0                 1.36.3-1
ii  libpng12-0                        1.2.50-1
ii  libstdc++6                        4.9.0-5
ii  python                            2.7.6-2
ii  python-dateutil                   1.5+dfsg-1
ii  python-matplotlib-data            1.3.1-1
ii  python-numpy [python-numpy-abi9]  1:1.8.1-1+b1
ii  python-pyparsing                  2.0.1+dfsg1-1
ii  python-support                    1.0.15
ii  python-tz                         2012c-1

Versions of packages python-matplotlib recommends:
ii  python-glade2   2.24.0-3+b1
ii  python-imaging  2.3.0-2
ii  python-tk       2.7.5-1

Versions of packages python-matplotlib suggests:
ii  dvipng                 1.14-2
ii  ghostscript            9.05~dfsg-8.1
ii  gir1.2-gtk-3.0         3.12.2-1
ii  inkscape               0.48.4-4
ii  ipython                2.1.0-1
ii  librsvg2-common        2.40.2-1
ii  python-cairo           1.8.8-1+b2
ii  python-configobj       4.7.2+ds-5
pn  python-excelerator     <none>
ii  python-gobject         3.12.1-1
ii  python-gtk2            2.24.0-3+b1
pn  python-matplotlib-doc  <none>
ii  python-nose            1.3.3-1
ii  python-qt4             4.11+dfsg-1+b1
ii  python-scipy           0.13.3-2+b1
ii  python-sip             4.16+dfsg-1
pn  python-tornado         <none>
ii  python-traits          4.4.0-1
ii  python-wxgtk2.8        2.8.12.1+dfsg2-1
ii  texlive-extra-utils    2014.20140528-2
ii  texlive-latex-extra    2014.20140528-2
pn  ttf-staypuft           <none>

-- no debconf information



More information about the Python-modules-team mailing list