FS#16600 - [python-matplotlib] Missing dependency tk

Attached to Project: Community Packages
Opened by Thomas McGrew (mcgrew) - Monday, 12 October 2009, 21:07 GMT
Last edited by Stefan Husmann (stefanhusmann) - Tuesday, 13 October 2009, 19:52 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Stefan Husmann (stefanhusmann)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
python-matplotlib requires the tk package to function but it is not listed as a dependency

Additional info:
* package version(s)
community/python-matplotlib 0.99.1.1-1

* config and/or log files etc.



Steps to reproduce:
*Install python without installing tk
*run python
*try to import pylab

$ python
Python 2.6.3 (r263:75183, Oct 4 2009, 12:15:47)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "/usr/lib/python2.6/site-packages/matplotlib/pylab.py", line 247, in <module>
from matplotlib.pyplot import *
File "/usr/lib/python2.6/site-packages/matplotlib/pyplot.py", line 78, in <module>
new_figure_manager, draw_if_interactive, show = pylab_setup()
File "/usr/lib/python2.6/site-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup
globals(),locals(),[backend_name])
File "/usr/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py", line 7, in <module>
import Tkinter as Tk, FileDialog
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libtk8.5.so: cannot open shared object file: No such file or directory
This task depends upon

Closed by  Stefan Husmann (stefanhusmann)
Tuesday, 13 October 2009, 19:52 GMT
Reason for closing:  Fixed

Loading...