[Bug 301007] [NEW] Missing package dependency

Bill Moyers bm0yers at yahoo.com
Sat Nov 22 14:26:54 UTC 2008


Public bug reported:

Binary package hint: python-matplotlib

I am using Ubuntu 8.10. I installed the package python-matplotlib
(0.98.3-4ubuntu1 (intrepid)). In my __init__.py I have:


import pylab

I am using Python 2.5.2. When I run the program I got the error:

Traceback (most recent call last):
  File "__init__.py", line 4, in <module>
    import pylab
  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

I installed the python-tk Ubuntu package and it cleared up. I guess a
package dependency is missing?

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

-- 
Missing package dependency
https://bugs.launchpad.net/bugs/301007
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