From: Eric F. <ef...@ha...> - 2006-10-22 19:34:00
|
Todd Page wrote: > Hello all, > > My apologies if this has been brought up and solved before, but I > didn't see any solutions that made sense to me in the archives. Here > is my stack: > python 2.4 (from python.org) > numpy-1.0rc3 > matplotlib-0.87.6 > > Everything seems to install fine. When I attempt to do 'from pylab > import *' I get the following error: > > RuntimeError: module compiled against version 1000002 of C-API but this version > of numpy is 1000009 If I remember correctly, mpl 0.87.6 is compiled against numpy-1.0.rc2, but rc3 has since come out with a C-API change so that it will not work with 0.87.6. So, give numpy-1.0.rc2 a try. numpy 1.0 is scheduled to come out soon, and I expect that shortly thereafter there will be an mpl release to match it. At that point the numpy C API should be genuinely stable and it should no longer be necessary to keep future mpl and numpy versions in lockstep. Eric |