compiled versions of C-API fatal error

From: <roelof_at_nyahnyahspammersnyahnyah>
Date: Mon, 4 Dec 2006 22:07:26 +0200

Hi everybody,
I'm a new user (theoretically net yet, since I can't get it to
work...), so excuse any apparent cluelessness.

I'm trying to get pyngl_numpy to work without success, I get the
following after install:

<start python 2.4.3>

>>> import PyNGL_numpy.Ngl as Ngl
RuntimeError: module compiled against version 1000009 of C-API but
this version of numpy is 1000002
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/X11R6/lib/python2.4/site-packages/PyNGL_numpy/",
  line 58, in ?
    from hlu import *
  File "/usr/X11R6/lib/python2.4/site-packages/PyNGL_numpy/",
  line 5, in ?
    import _hlu
ImportError: numpy.core.multiarray failed to import

<end python 2.4.3>

So I think that mean I used different C-API's to compile PyNGL and
numpy? Problem is I can't compile PyNGL and I don't know where to get
a numpy with the same C-API as PyNGL - that's if I have a correct
understanding of the whole problem.

Here's the details of my system (Gentoo):
gcc version 4.1
Python 2.4.3

Thanks for your time and suggestions,

Climatology Research Group - Wits University
Tel: 011 7176533 Fax: 011 7176535 Cel: 082 5639776                          <><
ncl-talk mailing list
Received on Mon Dec 04 2006 - 13:07:26 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 07 2006 - 16:52:36 MST