[Numpy-discussion] howto build numarray 0.4 ? file 'Src/_convmodule.c' does not exist

Sebastian Haase haase at msg.ucsf.edu
Tue Dec 3 15:09:04 EST 2002


> On Tue, Dec 03, 2002 at 02:34:06PM -0800, Sebastian Haase wrote:
> > Hi all,
> > I downloaded numarray 0.4 about 5 minutes after I got the announce but
> > my naive 'python2.2 ./setup.py build'   gives this
> >
> > haase at baboon:~/numarray-0.4: python2.2 ./setup.py build
> > running build
> > running build_py
> > not copying Lib/ndarray.py (output up-to-date)
> [...]
> > not copying Lib/memmap.py (output up-to-date)
> > running build_ext
> > building '_conv' extension
> > error: file 'Src/_convmodule.c' does not exist
> >
> > What am I missing? I'm running Linux (debian woody) on i386.
>
> Looks like you have to run 'python2.2 ./setup.py install' instead. Looking
at
> setup.py, something special is done when the target is 'install'.
>
> [I think this is a bad idea, as I like to build stuff as my user, and
> install as root. This requires me to build it as root.]
>

Thanks for the hint - I'll try that.
But I would consider that a bug, right?

Sebastian






More information about the NumPy-Discussion mailing list