On Sat, Oct 11, 2008 at 9:38 PM, Robert Bradshaw
<[EMAIL PROTECTED]> wrote:
> Can you compile the C file
>
> ------------- foo.c ----------------
> #include "Python.h"
>
> -------------------------------------
>
> If not, then you probably need to set some environment variables
> somewhere. I'm not expert on that (and there is a huge amount of
> variance depending on exactly what system/os you're running) but I
> believe that is most likely the problem.

Compile this by hand:

  7 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c
/usr/local/src/Cython-0     .9.8.1.1/Cython/Plex/Scanners.c -o
build/temp.linux-i686-2.5/usr/local/src/Cython-0.9.8.1.1/Cython/Plex/Scanners.o
  8 /usr/local/src/Cython-0.9.8.1.1/Cython/Plex/Scanners.c:4:20:
error: Python.h: No such file or directory


And you need to get it working, e.g. change the -I line to point to
your dir with your python2.6 installation. After you get this working,
you need to figure out how to fix the cython's setup.py file.

Ondrej
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to