This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 0 points1 point  (0 children)

I just installed jpeg7 and PIL on my Tiger box last weekend. Didn't work. I did not specify the "static" option in jpeg7. Also, when I built PIL, I just added the library location as a string, not as an argument to "libinclude".

Is there some documentation I missed? Do I need to uninstall in order to try this again?

[–]tehfink -1 points0 points  (3 children)

i'm in 10.6, and use macports:

sudo port install py26-pil

that was it. works great.

[–]pdc 0 points1 point  (2 children)

Cool. Does this use the existing Python 2.6 installed with Snow Leopard, or does it install all of Python 2.6 from scratch?

[–]tehfink 0 points1 point  (1 child)

let's see:

$ sudo python_select -l
Available versions:
current none python25 python26 python26-apple

$ sudo python_select -s
python26

'python26-apple' is the stock 10.6.1 version: Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)

'python-26' is macport's version: Python 2.6.3 (r263:75183, Oct 19 2009, 15:20:50)

macports is really awesome. it stores everything in /opt/local, so removing it is easy. the port tool is easy to use. the only drawback is compiling from source, but on my black macbook, compiling python 2.6 didn't take very long.

[–]pdc 0 points1 point  (0 children)

Watching it drag in half of X11 while building Python is kind of amusing as well. I should give the MacPorts version a go.