Created
May 2, 2012 05:27
-
-
Save jtratner/2574103 to your computer and use it in GitHub Desktop.
ipython_gtk error - no gdk backend found
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python --colors=Linux --pylab=gtk | |
WARNING: Couldn't start log: [Errno 2] No such file or directory: u'$HOME/.ipython/ipython_logs/ipython_log.py'Python 2.7.2+ (default, Oct 4 2011, 20:03:08) | |
Type "copyright", "credits" or "license" for more information. | |
IPython 0.12 -- An enhanced Interactive Python. | |
? -> Introduction and overview of IPython's features. | |
%quickref -> Quick reference. | |
help -> Python's own help system. | |
object? -> Details about 'object', use 'object??' for extra details. | |
[TerminalIPythonApp] Error in enabling GUI event loop integration: | |
--------------------------------------------------------------------------- | |
ImportError Traceback (most recent call last) | |
/usr/local/lib/python2.7/dist-packages/ipython-0.12-py2.7.egg/IPython/core/interactiveshell.pyc in enable_pylab(self, gui, import_all) | |
2605 ns = {} | |
2606 try: | |
-> 2607 gui = pylab_activate(ns, gui, import_all, self) | |
2608 except KeyError: | |
2609 error("Backend %r not supported" % gui) | |
/usr/local/lib/python2.7/dist-packages/ipython-0.12-py2.7.egg/IPython/core/pylabtools.pyc in pylab_activate(user_ns, gui, import_all, shell) | |
328 """ | |
329 gui, backend = find_gui_and_backend(gui) | |
--> 330 activate_matplotlib(backend) | |
331 import_pylab(user_ns, import_all) | |
332 if shell is not None: | |
/usr/local/lib/python2.7/dist-packages/ipython-0.12-py2.7.egg/IPython/core/pylabtools.pyc in activate_matplotlib(backend) | |
221 # This must be imported last in the matplotlib series, after | |
222 # backend/interactivity choices have been made | |
--> 223 import matplotlib.pylab as pylab | |
224 | |
225 # XXX For now leave this commented out, but depending on discussions with | |
/usr/local/lib/python2.7/dist-packages/matplotlib-1.1.0-py2.7-linux-i686.egg/matplotlib/pylab.py in <module>() | |
262 from numpy.linalg import * | |
263 | |
--> 264 from matplotlib.pyplot import * | |
265 | |
266 # provide the recommended module abbrevs in the pylab namespace | |
/usr/local/lib/python2.7/dist-packages/matplotlib-1.1.0-py2.7-linux-i686.egg/matplotlib/pyplot.py in <module>() | |
93 | |
94 from matplotlib.backends import pylab_setup | |
---> 95 new_figure_manager, draw_if_interactive, _show = pylab_setup() | |
96 | |
97 @docstring.copy_dedent(Artist.findobj) | |
/usr/local/lib/python2.7/dist-packages/matplotlib-1.1.0-py2.7-linux-i686.egg/matplotlib/backends/__init__.pyc in pylab_setup() | |
23 backend_name = 'matplotlib.backends.%s'%backend_name.lower() | |
24 backend_mod = __import__(backend_name, | |
---> 25 globals(),locals(),[backend_name]) | |
26 | |
27 # Things we pull in from all backends | |
/usr/local/lib/python2.7/dist-packages/matplotlib-1.1.0-py2.7-linux-i686.egg/matplotlib/backends/backend_gtkagg.py in <module>() | |
8 from matplotlib.figure import Figure | |
9 from matplotlib.backends.backend_agg import FigureCanvasAgg | |
---> 10 from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\ | |
11 show, draw_if_interactive,\ | |
12 error_msg_gtk, NavigationToolbar, PIXELS_PER_INCH, backend_version, \ | |
/usr/local/lib/python2.7/dist-packages/matplotlib-1.1.0-py2.7-linux-i686.egg/matplotlib/backends/backend_gtk.py in <module>() | |
26 from matplotlib.backend_bases import ShowBase | |
27 | |
---> 28 from matplotlib.backends.backend_gdk import RendererGDK, FigureCanvasGDK | |
29 from matplotlib.cbook import is_string_like, is_writable_file_like | |
30 from matplotlib.colors import colorConverter | |
/usr/local/lib/python2.7/dist-packages/matplotlib-1.1.0-py2.7-linux-i686.egg/matplotlib/backends/backend_gdk.py in <module>() | |
27 from matplotlib.mathtext import MathTextParser | |
28 from matplotlib.transforms import Affine2D | |
---> 29 from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array | |
30 | |
31 | |
ImportError: No module named _backend_gdk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment