[Image-SIG] python install problem 1 test failed selftest.testimage

Brian J. Gibbons bgibbons at stanford.edu
Wed Sep 2 23:03:03 CEST 2009


This is the error generated when running selftest.py :


python/Imaging-1.1.6> python selftest.py
*****************************************************************
Failure in example: _info(Image.open("Images/lena.jpg"))
from line #24 of selftest.testimage
Exception raised:
Traceback (most recent call last):
  File "./doctest.py", line 499, in _run_examples_inner
    exec compile(source, "<string>", "single") in globs
  File "<string>", line 1, in <module>
  File "./selftest.py", line 22, in _info
    im.load()
  File "PIL/ImageFile.py", line 180, in load
    d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
  File "PIL/Image.py", line 375, in _getdecoder
    raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available
1 items had failures:
   1 of  57 in selftest.testimage
***Test Failed*** 1 failures.
*** 1 tests of 57 failed.


Any suggestions?


Sincerely,

Brian Gibbons



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Brian Gibbons, Ph.D.
Roger Kornberg Lab
Stanford School of Medicine
Department of Structural Biology
299 Campus Drive West
Fairchild Building Rm. D125
Stanford, CA 94305
(650)723-6986


More information about the Image-SIG mailing list