[Bug 303158] [NEW] 'python-matplotlib' does not install depencency 'python-tk'

Bwoaas b.reuderink at gmail.com
Fri Nov 28 13:39:10 UTC 2008


Public bug reported:

Binary package hint: python-matplotlib

Using Ubuntu 8.10
Matplotlib:  0.98.3-4ubuntu1
Python: Python 2.5.2 (r252:60911, Oct  5 2008, 19:24:49)

After installing 'python-matplotlib', using matplotlib failes with an
error [1]. After installing 'python-tk' this problem is solved. I think
'python-tk' should be a dependency of 'python-matplotlib'.

[1]: 
Matplotlib

>>> import pylab
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py", line 249, in <module>
    from matplotlib.pyplot import *
  File "/usr/lib/python2.5/site-packages/matplotlib/pyplot.py", line 75, in <module>
    new_figure_manager, draw_if_interactive, show = pylab_setup()
  File "/usr/lib/python2.5/site-packages/matplotlib/backends/__init__.py", line 23, in pylab_setup
    globals(),locals(),[backend_name])
  File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_tkagg.py", line 7, in <module>
    import Tkinter as Tk, FileDialog
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 41, in <module>
    raise ImportError, str(msg) + ', please install the python-tk package'
ImportError: No module named _tkinter, please install the python-tk package

** Affects: matplotlib (Ubuntu)
     Importance: Undecided
         Status: New

-- 
'python-matplotlib' does not install depencency 'python-tk'
https://bugs.launchpad.net/bugs/303158
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list