[Numpy-discussion] howto build numarray 0.4 ? file 'Src/_convmodule.c' does not exist
haase at msg.ucsf.edu
Tue Dec 3 15:14:08 CST 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
> 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.]
I just tried it (actually as user not root!!) and it runs through up to a
"cannot create directory..." error.
That's probably fine with me (for now) and I'm just setting PYTHONPATH ...
Thanks again, Sebastian.
More information about the Numpy-discussion