[Image-SIG] "ImportError: The _imaging C module is not installed."
Christopher Barker
Chris.Barker at noaa.gov
Sat May 7 01:45:34 CEST 2011
On 5/6/11 4:03 PM, Susi wrote:
> I installed python 3.2 but with I try to run things with python3
I don't think PIL supports 3.* yet -- if you want the python.org python,
use 2.7.
There are binaries for PIL here:
http://www.astro.washington.edu/users/rowen/python/
you want: PIL-1.1.7-python.org-32bit-py2.7-macosx10.3.dmg
Which is compatible with the 32 bit python.org binary.
If you need 64 bit, then you'll need to build yourself.
> Hmmm, okay. I tweaked the PIL install, then reran it, and made some
> progress. In setup.py I changed *JPEG_ROOT = None* to *JPEG_ROOT =
> libinclude("/usr/local")*
odd -- I thought fink put its stuff in /sw/...
> Hmm, the readout seems okay, though I don't know what FreeType2 is -
you need that for drawing text on an image. there is a freetype lib
provided by Apple, I thought it worked with PIL.
> --- ZLIB (PNG/ZIP) support ok
> jpgs work now! But pngs still don't.
That's odd, given the note above, so I don't knwo what to say -- there
is sometest code youi can runin the PIL distro, you might try that for a
hint.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the Image-SIG
mailing list