Installing PIL on OS X Snow Leopard w/Xcode4 (no PPC support)

前端 未结 4 2034
借酒劲吻你
借酒劲吻你 2020-12-23 10:58

Xcode4 dropped PPC support, so when I try building PIL, it throws hate:

Bens-MacBook-Air:Imaging-1.1.7 bkeating$ python setup.py build
running buildrunning b         


        
4条回答
  •  青春惊慌失措
    2020-12-23 11:29

    Just to help others... I had to use ARCHFLAGS="-arch x86_64" before building imaging with my Snow Leopard/XCode 4 system i.e. having "-arch i386" in their stopped it working for me.

提交回复
热议问题