Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing PIL on MAC OS X LION 10.7.2 with PIP INSTALLER

I am trying to install PIL using PIP installer, and I'm getting this:

llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -IlibImaging -I/System/Library/Frameworks/Python.framework/Versions/2.7/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _imaging.c -o build/temp.macosx-10.7-intel-2.7/_imaging.o

unable to execute llvm-gcc-4.2: No such file or directory

error: command 'llvm-gcc-4.2' failed with exit status 1

Any clues what the problem might be ?

I have Mac OS X Lion and LLVM is installed in the XCODE Developer tools... What can be wrong ?

like image 350
Itsjustme Avatar asked Dec 27 '22 10:12

Itsjustme


2 Answers

i got the same error. but additionally need to install the "commandline tools" under settings enter image description here

edit: just a few keywords for google, if someone is looking for this! easy_install pip gcc not found mac osx xcode may be a moderator add this keywords to the question

like image 132
mo. Avatar answered Dec 31 '22 13:12

mo.


Are you sure you have actually run the Xcode installer (usually found in /Applications)? Downloading it from the Mac App Store doesn't automatically run the installer.

like image 26
Ned Deily Avatar answered Dec 31 '22 14:12

Ned Deily