Installing Python Imaging Library (PIL) on Snow Leopard with updated Python 2.6.2

前端 未结 12 2211
一向
一向 2020-12-08 01:12

I have a fresh install (started with a wiped drive) of Snow Leopard with the developer tools installed during the Snow Leopard installation.

I then installed Python

12条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 01:45

    10.6 Snow Leopard install PIL without the hassle and without keeping MacPorts :)

    Step 1: Install MacPorts
    Step 2: sudo port install py26-pil
    Step 3: mv /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/* /Library/Python/2.6/site-packages/
    Step 4: Uninstall MacPorts

    Best of both worlds?

提交回复
热议问题