[Image-SIG] Re: Problems with PIL1.1.4 using Py2exe
by Fredrik Lundh other posts by this author
Aug 3 2004 10:19AM messages near this date
[Image-SIG] Problems with PIL1.1.4 using Py2exe
|
[Image-SIG] PIL decoders
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>
_______________________________________________
Image-SIG maillist - Image-SIG@[...].org
http://mail.python.org/mailman/listinfo/image-sig
Thread:
>>>Gabriele Tazzari
Fredrik Lundh
|