[Pyrex] Problems Building Pyrex Demos On Ubuntu

Juha S. sj.m at iloinen.net
Thu Feb 14 08:21:11 CET 2008


Greg Ewing wrote:
> Juha S. wrote:
>
>> primes.c:4:20: error: Python.h: No such file or directory
>
> Have you installed the development package for Python?
> Linux distributions often relegate the Python .h files to
> another package called python-devel or something like
> that.
>
> -- 
> Greg
>
Thanks, I installed the python-dev package plus the build-essential 
package and now Pyrex modules build correctly.



More information about the Pyrex mailing list