thanks, this didn't seem to work. I get a whole range of errors, most importantly

SystemError: Cannot compiler 'Python.h'. Perhaps you need to install python-dev|python-devel.

Apparently, according to numpy installation guide (here) i got the wrong compiler installed. How do I find out which 1 I got? 

2010/10/19 David <david@silveregg.co.jp>
>
> On 10/18/2010 10:45 PM, Pauli Virtanen wrote:
> > Mon, 18 Oct 2010 09:07:42 -0400, Ian Goodfellow wrote:
> >
> >> To do a standard installation, run
> >> sudo python setup.py install
> >> from inside the numpy directory
> >
> > Preferably,
> >
> >       sudo python setup.py install --prefix=/usr/local
> >
> > and then you don't mess up your package manager.
>
> Ubuntu actually does this by default (i.e. the default prefix expands to
> /usr/local on ubuntu and debian).
>
> But I think we should tell people to use the --user for python 2.6 and
> above by default: that's the safest method, does not require sudo and
> works on every platform,
>
> cheers,
>
> David
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion