Closed GoogleCodeExporter closed 9 years ago
Photologue uses the import paths specified in the PIL tutorial
(http://www.pythonware.com/library/pil/handbook/introduction.htm). I have not
installed PIL on my mac at
home however so I can't test it myself right now. Did you install through
Macports or build the dependancies
yourself? If this is an issue a try/except block would be easy to implement:
try:
import Image
except ImportError:
try:
from PIL import Image
except ImportError, err:
raise ImportError("Photologue was unable to import the Python Imaging Library: %s" % err)
Original comment by justin.d...@gmail.com
on 1 Mar 2008 at 3:45
Hi,
I've installed PIL on my mac from fink binaries. Digging a bit deeper into this
subject, I found this http://code.djangoproject.com/ticket/6054 which suggests
that
the PIL path can sometimes change according to the installation method. Which
is weird.
Anyway, a try/except block as you suggested above works fine; I've attached a
patch
with just that.
Original comment by richardb...@gmail.com
on 1 Mar 2008 at 6:11
Attachments:
Great. Thanks a lot for looking into this. Should save people some grief when
trying to get this set up.
Original comment by justin.d...@gmail.com
on 1 Mar 2008 at 6:44
Original issue reported on code.google.com by
richardb...@gmail.com
on 1 Mar 2008 at 12:24