Closed markushaider closed 11 years ago
Which version of Cython do you have? I think we need some sort of cython 0.17+; and numpy 1.7+ to compile the pyx files.
Could you post the full error log?
You can obtain it with
python setup.py build 2>&1 > log
Yu
Hi, I see, Ubuntu 12.04 comes with cython 0.15.1 so this might be the reason for the error. I will try with a newer version of cython.
Ok, with Cython 0.18 the error I first had goes away. Now I get error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -Igaepsi/cosmology -Igaepsi/compiledbase -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c build/src.linux-x86_64-2.7/gaepsi/compiledbase/fillingcurve.c -o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/gaepsi/compiledbase/fillingcurve.o -O3 -g -Dintp=npy_intp" failed with exit status 1 which might be because of an old numpy version (1.6.1). I'll try with a newer numpy version
With numpy 1.7.0 it works. Could you give me a short hint how to use gaepsi? Is there a manual or a README somewhere?
What I want to do is to make some pictures of a Gadget snapshot file
Sorry, didn't see there is a wiki
Trying to do "python setup.py install" I get many errors of the following form:
Error compiling Cython file:
... """ wrap(x, p, out=None) returns x wrapped within [0, p], it gets slow when x is far from [0, p)! """ ) __namespace = locals()
^