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