py27-pil installation

Scott Frankel frankel at
Wed Jul 11 22:05:54 PDT 2012

Hi all,

I'm having difficulty with the py27-pil installation for my new machine running OSX 10.7.4.

1)  macports reports that the installation succeeds:

% sudo port install py27-pil
--->  Computing dependencies for py27-pil
--->  Cleaning py27-pil
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

2) macports lists the location of the port as being an image file (???):

% port location py27-pil
Port py27-pil 1.1.7_4 is installed as an image in:

3)  the py27-pil components are either not installed, or not installed in their correct location as revealed in Python's cmd-line interpreter:

>>> import Image
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named Image

This is the second 10.7.x machine I've used macports to install PIL.  The first was successful without issue.  Is there a step I'm missing?  Any remedial steps I can take to complete/troubleshoot the installation?


More information about the macports-users mailing list