I am a very amateur programmer; I did some kind of recreational algorithmic programming, but I honestly have no idea how libraries and programming languages ββreally fit together. I have to work on a project that requires some image processing, so I tried to install PIL for a while, but I could not.
I went to http://www.pythonware.com/products/pil/ and downloaded the "Python Imaging Library 1.1.6 Source Kit (all platforms) (440k TAR GZ) (December 3, 2006)." Then I opened the folder on the command line and launched
$ python setup.py build_ext -i .
This was the result I got:
running build_ext --- using frameworks at /System/Library/Frameworks building '_imaging' extension gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -DHAVE_LIBZ -IlibImaging -I/opt/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.5/include -I/usr/local/include -I/usr/include -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c _imaging.c -o build/temp.macosx-10.5-i386-2.5/_imaging.o unable to execute gcc: No such file or directory error: command 'gcc' failed with exit status 1
"import Image" caused an error while trying.
Do you guys know what's going on? I am using a MacBook Pro with a Core 2 Duo.
And I'm honestly sorry if this is ridiculously stupid.
python module macos
Vcl
source share