On Wednesday, November 7, 2012 11:24:54 PM UTC-5, Stephen McDonald wrote:
> Have a look here at Mezzanine's bundled fabfile where it installs all the
> system-level packages required:
> https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project...
> You'll see python-dev which a lack of is what's causing the current error
> you're getting - from that list you'll probably also want libjpeg-dev too.
> On Thu, Nov 8, 2012 at 3:19 PM, Andy Blake <andyb...@gmail.com<javascript:>
> > wrote:
>> Hi, I am attempting a fresh Mezzanine install on Ubuntu 12.04.1 LTS using
>> pip via sudo:
>> pip install -U mezzanine
>> It gets pretty far along, but somewhere after or during the Pillow
>> installation, it encounters an error:
>> running build_ext
>> building '_imaging' extension
>> creating build/temp.linux-x86_64-2.7/libImaging
>> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
>> -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/usr/include
>> -I/usr/local/include -I/usr/include/python2.7
>> -I/usr/include/x86_64-linux-gnu -c _imaging.c -o
>> build/temp.linux-x86_64-2.7/_imaging.o
>> _imaging.c:75:20: fatal error: Python.h: No such file or directory
>> compilation terminated.
>> error: command 'gcc' failed with exit status 1
>> Any help would be appreciated.
>> Thanks,
>> Andy
> --
> Stephen McDonald
> http://jupo.org