In [1]:
%pylab inline



ImportErrorTraceback (most recent call last)
<ipython-input-1-322f973a8aa0> in <module>()
----> 1 get_ipython().magic(u'pylab inline')

/home/cmb-panasas2/skchoudh/software_frozen/anaconda27/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in magic(self, arg_s)
   2158         magic_name, _, magic_arg_s = arg_s.partition(' ')
   2159         magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
-> 2160         return self.run_line_magic(magic_name, magic_arg_s)
   2161 
   2162     #-------------------------------------------------------------------------

/home/cmb-panasas2/skchoudh/software_frozen/anaconda27/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in run_line_magic(self, magic_name, line)
   2079                 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
   2080             with self.builtin_trap:
-> 2081                 result = fn(*args,**kwargs)
   2082             return result
   2083 

<decorator-gen-106> in pylab(self, line)

/home/cmb-panasas2/skchoudh/software_frozen/anaconda27/lib/python2.7/site-packages/IPython/core/magic.pyc in <lambda>(f, *a, **k)
    186     # but it's overkill for just that one bit of state.
    187     def magic_deco(arg):
--> 188         call = lambda f, *a, **k: f(*a, **k)
    189 
    190         if callable(arg):

/home/cmb-panasas2/skchoudh/software_frozen/anaconda27/lib/python2.7/site-packages/IPython/core/magics/pylab.pyc in pylab(self, line)
    154             import_all = not args.no_import_all
    155 
--> 156         gui, backend, clobbered = self.shell.enable_pylab(args.gui, import_all=import_all)
    157         self._show_matplotlib_backend(args.gui, backend)
    158         print ("Populating the interactive namespace from numpy and matplotlib")

/home/cmb-panasas2/skchoudh/software_frozen/anaconda27/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in enable_pylab(self, gui, import_all, welcome_message)
   2987         from IPython.core.pylabtools import import_pylab
   2988 
-> 2989         gui, backend = self.enable_matplotlib(gui)
   2990 
   2991         # We want to prevent the loading of pylab to pollute the user's

/home/cmb-panasas2/skchoudh/software_frozen/anaconda27/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in enable_matplotlib(self, gui)
   2936         """
   2937         from IPython.core import pylabtools as pt
-> 2938         gui, backend = pt.find_gui_and_backend(gui, self.pylab_gui_select)
   2939 
   2940         if gui != 'inline':

/home/cmb-panasas2/skchoudh/software_frozen/anaconda27/lib/python2.7/site-packages/IPython/core/pylabtools.pyc in find_gui_and_backend(gui, gui_select)
    271     """
    272 
--> 273     import matplotlib
    274 
    275     if gui and gui != 'auto':

/home/cmb-panasas2/skchoudh/software_frozen/anaconda27/lib/python2.7/site-packages/matplotlib/__init__.py in <module>()
    125 # cbook must import matplotlib only within function
    126 # definitions, so it is safe to import from it here.
--> 127 from . import cbook
    128 from matplotlib.cbook import (
    129     _backports, mplDeprecation, dedent, get_label, sanitize_sequence)

ImportError: cannot import name cbook

In [ ]: