Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
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!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
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
Opened by Simon (Giggi) - Saturday, 01 December 2012, 21:34 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 01 December 2012, 23:30 GMT
|
DetailsDescription:
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
Saturday, 01 December 2012, 23:30 GMT
Reason for closing: Not a bug
Additional comments about closing: you need to install the tk optdepends