Installing PIL to use with Django on Mac OS X

后端 未结 9 928
梦如初夏
梦如初夏 2020-12-13 21:40

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

9条回答
  •  一向
    一向 (楼主)
    2020-12-13 22:02

    Following steps worked for me:

    $ brew install pip
    $ export ARCHFLAGS="-arch i386 -arch x86_64"
    $ pip install pil
    

提交回复
热议问题