PIL compilation error on linux

Ryan Mahoski <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
After running `python setup.py install` on Linux Mint I see a compilation
error (below). This occurs regardless of whether I try to install PIL 1.1.6
or 1.1.7. Any ideas on what I'm doing wrong?

...
building '_imaging' extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/libImaging
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -IlibImaging -I/usr/include -I/usr/local/include
-I/usr/include/python2.7 -c _imaging.c -o
build/temp.linux-i686-2.7/_imaging.o
_imaging.c:76:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.