[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Can't install



M K wrote:

> Pygame dies on compiling surfarray.
> 
> src/surfarray.c:24:32: Numeric/arrayobject.h: No such file or directory


this is a problem with my "semi"-smart auto config stuff. if it sees 
that the Numeric modules are available, it tries to compile the pygame 
surfarray modules. unfortunately, many linux distros pack the Numeric 
headers in a separate package (python-numeric-dev, or something like that).

you have two basic options. install the "dev" package for your numeric. 
otherwise, you can just disable the "surfarray" module for pygame. 
pygame runs fine without it. edit your "Setup" file and comment out the 
line for surfarray. then rerun the setup.py script to install.



____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org