Your message dated Sat, 14 May 2011 10:41:07 +0200
with message-id <[email protected]>
and subject line Re: [Python-modules-team] Bug#626659: python-matplotlib:
import matplotlib.pyplot yeilds ImportError: No module named _tkagg
has caused the Debian Bug report #626659,
regarding python-matplotlib: import matplotlib.pyplot yields ImportError: No
module named matplotlib.pyplot
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
626659: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626659
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-matplotlib
Version: 0.99.3-1+b1
Severity: important
>From a python2.6 shell executing import matplotlib.pyplot yields the following:
Python 2.6.6 (r266:84292, Apr 20 2011, 11:58:30)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
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 8, in <module>
import tkagg # Paint image to Tk photo blitter extension
File "/usr/lib/pymodules/python2.6/matplotlib/backends/tkagg.py", line 1, in
<module>
import _tkagg
ImportError: No module named _tkagg
>>>
This seems to be similiar in nature to Debian bug #621700. A valid work around
may be one suggested by Julian Taylor:
"
to workaround this bug:
copy /etc/matplotlibrc into $HOME/.matplotlib/
change the line
backend : TkAgg
to another backend, like GTKAgg (requires python-gtk2), Qt4Agg (requires
python-qt4)
or WXAgg (requires python-wx2.8)
"
It is also similiar to ubuntu bug #752647
https://bugs.launchpad.net/ubuntu/natty/+source/matplotlib/+bug/752647
Thank you for your time,
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-matplotlib depends on:
ii libatk1.0-0 2.0.0-1 The ATK accessibility toolkit
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libcairo2 1.10.2-6 The Cairo 2D vector graphics libra
ii libfontconfig1 2.8.0-2.2 generic font configuration library
ii libfreetype6 2.4.4-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.6.0-2 GCC support library
ii libgdk-pixbuf2.0-0 2.23.3-3 GDK Pixbuf library
ii libglib2.0-0 2.28.6-1 The GLib library of C routines
ii libgtk2.0-0 2.24.4-3 The GTK+ graphical user interface
ii libpango1.0-0 1.28.3-6 Layout and rendering of internatio
ii libpng12-0 1.2.44-2 PNG library - runtime
ii libstdc++6 4.6.0-2 The GNU Standard C++ Library v3
ii python 2.6.6-14 interactive high-level object-orie
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.28.3-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.5.1-2+b1 Numerical Python adds a fast array
ii python-pyparsing 1.5.2-2 Python parsing module
ii python-support 1.0.13 automated rebuilding support for P
ii python-tz 2010b-1 Python version of the Olson timezo
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages python-matplotlib recommends:
ii python-glade2 2.17.0-4+b1 GTK+ bindings: Glade support
ii python-tk 2.7.1-1 Tkinter - Writing Tk applications
Versions of packages python-matplotlib suggests:
pn dvipng <none> (no description available)
ii ipython 0.10.2-1 enhanced interactive Python shell
ii librsvg2-common 2.32.1-1 SAX-based renderer library for SVG
ii python-configobj 4.7.2+ds-3 simple but powerful config file re
pn python-excelerator <none> (no description available)
ii python-gtk2 2.17.0-4+b1 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.8.3-2+b1 Python bindings for Qt4
pn python-scipy <none> (no description available)
pn python-traits <none> (no description available)
ii python-wxgtk2.8 2.8.10.1-3.1 wxWidgets Cross-platform C++ GUI t
ii texlive-extra-utils 2009-10 TeX Live: TeX auxiliary programs
ii texlive-latex-extra 2009-10 TeX Live: LaTeX supplementary pack
-- no debconf information
--- End Message ---
--- Begin Message ---
forcemerge 626659 626660
fixed 626659 1.0.1-2
thanks
Version: 1.0.1-2
On Sat, May 14, 2011 at 04:34, Paul Strefling <[email protected]> wrote:
> Package: python-matplotlib
> Version: 0.99.3-1+b1
> Severity: important
>
> In a python2.6 shell issuing the follwing import yeilds an error:
>
>>>> import matplotlib.pyplot
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> 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 8, in <module>
> import tkagg # Paint image to Tk photo blitter extension
> File "/usr/lib/pymodules/python2.6/matplotlib/backends/tkagg.py", line 1, in
> <module>
> import _tkagg
> ImportError: No module named _tkagg
It's already been fixed, just wait for the version above to transit to testing.
Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team