PIL installation on MAC
Question: I am trying to install PIL in my Mac.I am using the following command:

    
    
    sudo pip install pil --allow-external pil --allow-unverified pil
    

But it gives the following error

    
    
    Command "/Users/akira/anaconda/bin/python -c "import setuptools,     tokenize;__file__='/private/tmp/pip-build-bCxMjA/pil/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-YwCGxg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-bCxMjA/pil
    

Please note that,I have condo installed in my system.I am not able to install
PIL in my system in any means.Please help me with this.I have browsed many
links,But no solution works for me.


Answer: Why are you using `pip` if you have `conda` installed? I installed it simply
with the command:

    
    
    conda install pil
    

Or if you want the latest version (since PIL is now called pillow):

    
    
    conda install pillow
    

