I am getting the ever famous The _imaging C module is not installed error with a django form Image upload. I am trying to work through the many re-install tuts out there but every time I try to install pil with either pip install or brew install I get a directory not found error at /usr/bin/cc.
Has anyone ran into this before? Any hints to get me moving in the right direction? I am running everything in a virtual enviroment and would like to continue to do so.
Thanks!!
CG
EDIT:
Installing Xcode fixed my problem, I am now getting the following error:
WARNING: '' not a valid package name; please use only.-separated package names in setup.py
--- using frameworks at /System/Library/Frameworks
unable to execute gcc-4.0: No such file or directory
error: Setup script exited with error: command 'gcc-4.0' failed with exit status 1
Are you sure you totally installed the Developer Tools? On Mac OS X 10.7 Lion, when you get Xcode 4.1 from the Mac App Store, it downloads an installer into
/Applications. You then have to manually run that installer. That will add the expected links for/usr/bin/ccand other tools.