[Python-apps-team] Bug#756825: Bug#756825: Bug#756825: [ocrfeeder] Fails to start

Alberto Garcia berto at igalia.com
Mon Aug 4 11:09:42 UTC 2014


On Mon, Aug 04, 2014 at 10:27:28AM +0100, Franz Schrober wrote:

> python-imaging was already installed. But the python code looks
> extreme bogus:
> 
> import Image
> 
> This is obviously wrong and has to be replaced by
> 
> from PIL import Image

This is already fixed by upstream, which is about to make a new
release.

In the meantime python-imaging provides compatibility with the old
behavior:

   Description: Python Imaging Library compatibility layer
    PIL used to provide a PIL.pth file which allowed you to `import
    Image` but this is deprecated.  Use `from PIL import Image` now,
    or install this compatibility package to temporarily get the old
    behavior back.

How come that is not working in your case?

Berto



More information about the Python-apps-team mailing list