[IPython-user] problem with matplotlib 0.87.1

This should probably be on the matplotlib list, but 0.87.1 was
compiled against numpy 0.9.5. You have to use that version. This
type of problem won't happen as much once numpy hits 1.0. 0.87.2 was
compiled against numpy 0.9.6.

- Charlie


On 5/2/06, Ryan Krauss <ryanlists@...287...> wrote:

I am working in windows and was having trouble with matplotlib 0.87.2,
so I tried downgrading to 0.87.1, but now I can't get ipython -pylab
to start. I get this message:

C:\Python24\Scripts>python ipython -pylab
Traceback (most recent call last):
  File "ipython", line 28, in ?
  File "C:\Python24\Lib\site-packages\IPython\Shell.py", line 950, in start
    return shell()
  File "C:\Python24\Lib\site-packages\IPython\Shell.py", line 865, in __init__
  File "C:\Python24\Lib\site-packages\IPython\Shell.py", line 55, in __init__
  File "C:\Python24\Lib\site-packages\IPython\ipmaker.py", line 90, in make_IPyt
  File "C:\Python24\Lib\site-packages\IPython\Shell.py", line 501, in __init__
    user_ns,b2 = self._matplotlib_config(name)
  File "C:\Python24\Lib\site-packages\IPython\Shell.py", line 390, in _matplotli
    from matplotlib import backends
  File "C:\Python24\Lib\site-packages\matplotlib\backends\__init__.py", line 56,
in ?
    new_figure_manager, draw_if_interactive, show = pylab_setup()
  File "C:\Python24\Lib\site-packages\matplotlib\backends\__init__.py", line 24,
in pylab_setup
  File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_tkagg.py", lin
e 9, in ?
    from backend_agg import FigureCanvasAgg
  File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_agg.py", line
82, in ?
    from matplotlib.figure import Figure
  File "C:\Python24\Lib\site-packages\matplotlib\figure.py", line 6, in ?
    from axes import Axes, Subplot, PolarSubplot, PolarAxes
  File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 23, in ?
    from contour import ContourSet
  File "C:\Python24\Lib\site-packages\matplotlib\contour.py", line 18, in ?
    import _contour
  File "C:\Python24\Lib\site-packages\matplotlib\_contour.py", line 17, in ?
    from matplotlib._ns_cntr import *
RuntimeError: module compiled against version 90500 of C-API but this version of
numpy is 90504

I tried deleting the IPython, scipy, numpy, and matplotlib directories
and reinstalling them, but it didn't help (I installed in the order
numpy, scipy, matplotlib, Ipython).


IPython-user mailing list