[Image-SIG] Re: Problems with PIL1.1.4 using Py2exe
Fredrik Lundh
fredrik at pythonware.com
Tue Aug 3 12:19:54 CEST 2004
Gabriele Tazzari wrote:
> Can you please tell me why the script runs and the exe doesn't ?
> The error I get with the exe is
>
> Traceback (most recent call last):
> File "<string>", line 2, in ?
> File "Image.pyo", line 1571, in open
> IOError: cannot identify image file
PIL scans the Python path for image plugins (*ImagePlugin files).
to make sure that PY2EXE finds the image plugins you need, you must
explicitly import them from your main program. for examples, see:
http://mail.python.org/pipermail/python-list/2003-December/199226.html
http://mail.python.org/pipermail/python-list/2003-December/199237.html
</F>
More information about the Image-SIG
mailing list