This bug is present on Natty Development branch at the moment.
Should a new bug be filed?

jan@milaine-laptop:~$ python -c "import pylab"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/lib/pymodules/python2.7/matplotlib/pylab.py", line 247, in <module>
    from matplotlib.pyplot import *
  File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 78, in <module>
    new_figure_manager, draw_if_interactive, show = pylab_setup()
  File "/usr/lib/pymodules/python2.7/matplotlib/backends/__init__.py", line 25, 
in pylab_setup
    globals(),locals(),[backend_name])
  File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", 
line 8, in <module>
    import tkagg                 # Paint image to Tk photo blitter extension
  File "/usr/lib/pymodules/python2.7/matplotlib/backends/tkagg.py", line 1, in 
<module>
    import _tkagg
ImportError: No module named _tkagg
jan@milaine-laptop:~$ dpkg -l |grep python-tk
ii  python-tk                             2.7-2ubuntu2                          
     Tkinter - Writing Tk applications with Python
jan@milaine-laptop:~$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/337469

Title:
  import matplotlib.pyplot gives ImportError: No module named _tkagg

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to