Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing PIL to use with Django on Mac OS X

I'm really annoyed by installation of PIL (Python Imaging Library) on Mac OS X 10.6. Does anyone have it installed and could post the recipe here? I've tried a lot of them posted here on this site and a lot from google, but always anding with missing some part and can't work normally with PIL...

Thanks in advance. Ignas

like image 835
Ignas Butėnas Avatar asked Feb 22 '11 08:02

Ignas Butėnas


1 Answers

Following steps worked for me:

$ brew install pip
$ export ARCHFLAGS="-arch i386 -arch x86_64"
$ pip install pil
like image 113
petermanser Avatar answered Sep 21 '22 01:09

petermanser