mrmarcdee n00b
Joined: 18 Jan 2010 Posts: 67
|
Posted: Sat Oct 06, 2012 2:55 am Post subject: matplotlib.pyplot python 2.7 GTK back error |
|
|
In Python 2.7, I try to import matplotlib.pyplot and get this: Code: | Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 95, in <module>
new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup
globals(),locals(),[backend_name])
File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk.py", line 11, in <module>
raise ImportError("Gtk* backend requires pygtk to be installed.")
ImportError: Gtk* backend requires pygtk to be installed.
|
I tried to re-emerge pygtk. Import matplotlib works fine. Matplotlib is emerged with gtk flag. Import pygtk works fine.
Any ideas?
Thanks,
Marc Dillon |
|