FS#32928 - [python-matplotlib] Don't import the matplotlib module

Attached to Project: Arch Linux
Opened by Simon (Giggi) - Saturday, 01 December 2012, 21:34 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 01 December 2012, 23:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

If I try to import the main matplotlib module in a python console or in an application it returns this error.

>>> import matplotlib.pyplot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.3/site-packages/matplotlib/pyplot.py", line 97, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/usr/lib/python3.3/site-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup
globals(),locals(),[backend_name])
File "/usr/lib/python3.3/site-packages/matplotlib/backends/backend_tkagg.py", line 8, in <module>
import tkinter as Tk, tkinter.filedialog
File "/usr/lib/python3.3/tkinter/__init__.py", line 40, 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

The problem affect only python3 and it's appeared with the latest rebuild (1.2.0-6) .

Additional info:
* package version(s)
python-matplotlib 1.2.0-6


Steps to reproduce:

Open a python console and take the command:
>>> import matplotlib.pyplot


This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 01 December 2012, 23:30 GMT
Reason for closing:  Not a bug
Additional comments about closing:  you need to install the tk optdepends

Loading...