[IPython-user] ipython -pylab gives an error

SK skokot at o2.pl
Sat Mar 25 14:13:24 CST 2006

I'm trying the following command with error. Since I'm starting to learn python
I have no idea how to solve it. 

Any help?
Thanks in advance

$ ipython -pylab
Traceback (most recent call last):
  File "/usr/bin/ipython", line 28, in ?
  File "/usr/lib/python2.4/site-packages/IPython/Shell.py", line 950, in start
    return shell()
  File "/usr/lib/python2.4/site-packages/IPython/Shell.py", line 874, in __init_
  File "/usr/lib/python2.4/site-packages/IPython/Shell.py", line 626, in __init_
  File "/usr/lib/python2.4/site-packages/IPython/ipmaker.py", line 90, in make_I
  File "/usr/lib/python2.4/site-packages/IPython/Shell.py", line 510, in __init_
    user_ns,b2 = self._matplotlib_config(name)
  File "/usr/lib/python2.4/site-packages/IPython/Shell.py", line 390, in _matplo
    from matplotlib import backends
  File "/usr/lib/python2.4/site-packages/matplotlib/backends/__init__.py", line 
55, in ?
    new_figure_manager, draw_if_interactive, show = pylab_setup()
  File "/usr/lib/python2.4/site-packages/matplotlib/backends/__init__.py", line 
23, in pylab_setup
  File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py",
 line 8, in ?
    from matplotlib.figure import Figure
  File "/usr/lib/python2.4/site-packages/matplotlib/figure.py", line 6, in ?
    from axes import Axes, Subplot, PolarSubplot, PolarAxes
  File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 15, in ?
    from axis import XAxis, YAxis
  File "/usr/lib/python2.4/site-packages/matplotlib/axis.py", line 16, in ?
    from lines import Line2D, TICKLEFT, TICKRIGHT, TICKUP, TICKDOWN
  File "/usr/lib/python2.4/site-packages/matplotlib/lines.py", line 11, in ?
    import agg
  File "/usr/lib/python2.4/site-packages/matplotlib/agg.py", line 4, in ?
    import _agg
ImportError: dynamic module does not define init function (init_agg)

More information about the IPython-user mailing list