Monday, July 20, 2009

Python Imaging Library Macbook

Well, I'm thinking of installing a new framework called Pinax, which is a souped up version of django. I'm hoping to create a test case by rolling my own blog.

Anyway, one of the features of Pinax is that it comes with everything including the kitchen sink. Including the dreaded Imaging module. Now I say it's dreaded, because in order to get it running you need to be using PIL (Python Imaging Library), which in itself depends on libjpeg, which is a massive headache to install.

Why? Because libjpeg will only build to either i386 or PPC architecture (sound familiar?), and NOT to a fat client.

Normally, this isn't a problem, except that the build phase for PIL does build to a fat client. Which means the damn thing won't work.

After a lot of hunting, I found someone else who had the exact same problem.

To cut to the chase, the solution can be found here.

Incidentally, you can install libjpeg7 no problem.

37 comments:

  1. 快樂的微笑是保持生命康健的唯一藥石,它的價值千萬,卻不要花費一文錢 ..................................................

    ReplyDelete
  2. 外表往往與事實本身不符,世人卻容易被表面裝飾所欺騙了..................................................

    ReplyDelete
  3. 累死了…來去看看文章轉換心情~.................................................................                           

    ReplyDelete
  4. 向著星球長驅直進的人,反比踟躕在峽路上的人,更容易達到目的。............................................................

    ReplyDelete
  5. 向著星球長驅直進的人,反比踟躕在峽路上的人,更容易達到目的。............................................................

    ReplyDelete
  6. 人必須心懷希望,才會活的快樂,日子才過得充實,有意義,有朝氣,有信心。......................................................

    ReplyDelete
  7. If you lend someone $20 and never see that person again, it was probably worth it...................................................................

    ReplyDelete
  8. 在莫非定律中有項笨蛋定律:「一個組織中的笨蛋,恆大於等於三分之二。」. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    ReplyDelete
  9. 生存乃是不斷地在內心與靈魂交戰;寫作是坐著審判自己。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    ReplyDelete