Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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



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/", line 97, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/usr/lib/python3.3/site-packages/matplotlib/backends/", line 25, in pylab_setup
File "/usr/lib/python3.3/site-packages/matplotlib/backends/", line 8, in <module>
import tkinter as Tk, tkinter.filedialog
File "/usr/lib/python3.3/tkinter/", line 40, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: 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