Installing PIL on MAC OS X LION 10.7.2 with PIP INSTALLER

I try to install PIL using a PIP installation and I get the following:

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 could be the problem?

I have Mac OS X Lion and LLVM installed in the XCODE Developer Tools ... What could be wrong?

+4
source share
3 answers

Do you really run the Xcode installer (usually located in /Applications )? Downloading it from the Mac App Store does not automatically launch the installer.

+1
source

I got the same error. but additionally you need to install the "command line tools" in the 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 these keywords to the question

+9
source

Make sure you install Xcode. Try installing PIL from homebrew package manager

0
source

Source: https://habr.com/ru/post/1384513/


All Articles