resource log

Just another paikia site. But resourceful one

Solution for getting error on install PIL Python on OS X

Here is a problem I have stucked for over 30 mins. When installing PIL image process for Python I keep getting the error of “error: command ‘gcc-4.2′ failed with exit status 1″ or “error: command ‘/usr/bin/gcc-4.0′ failed with exit status 1″

Then finally I found the solution of using easy_install and pip and using this command to install it.

ARCHFLAGS="-arch i386 -arch x86_64" pip install PIL
About these ads

Written by paikia

June 10, 2011 at 4:12 pm

Posted in mac

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: