Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (py27)tom@zeppelin:~$ pylab
- Python 2.7.1+ (r271:86832, Sep 27 2012, 21:12:17)
- 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)
- /home/tom/.virtualenvs/py27/local/lib/python2.7/site-packages/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)
- /home/tom/.virtualenvs/py27/local/lib/python2.7/site-packages/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:
- /home/tom/.virtualenvs/py27/local/lib/python2.7/site-packages/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
- /home/tom/.virtualenvs/py27/local/lib/python2.7/site-packages/matplotlib/pylab.py in <module>()
- 261 from numpy.linalg import *
- 262
- --> 263 from matplotlib.pyplot import *
- 264
- 265 # provide the recommended module abbrevs in the pylab namespace
- /home/tom/.virtualenvs/py27/local/lib/python2.7/site-packages/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)
- /home/tom/.virtualenvs/py27/local/lib/python2.7/site-packages/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
- /home/tom/.virtualenvs/py27/local/lib/python2.7/site-packages/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, \
- /home/tom/.virtualenvs/py27/local/lib/python2.7/site-packages/matplotlib/backends/backend_gtk.py in <module>()
- 9 import pango
- 10 except ImportError:
- ---> 11 raise ImportError("Gtk* backend requires pygtk to be installed.")
- 12
- 13 pygtk_version_required = (2,4,0)
- ImportError: Gtk* backend requires pygtk to be installed.
- In [1]:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement