| Store | Cart

Py2exe executable not loading images

From: Fredrik Lundh <fred...@pythonware.com>
Fri, 11 Oct 2002 14:15:25 GMT
"Anand" wrote:

> The code works fine for all images when run as a python script.> When I create a win32 executable using py2exe and setup.py, the> Image class fails with a  message <reproduced here>>> <Quote>> File "<string>", line 453, in OpenImage> File "PIL\Image.pyc", line 960, in open> IOError: cannot identify image file> </Quote>>>  Any ideas friends ?

the approach discussed in this article might help:

    http://www.pythonware.com/products/pil/articles/speeding-up-initialization.htm

</F>

<!-- (the eff-bot guide to) python stuff: http://zone.effbot.org -->

Recent Messages in this Thread
Anand Oct 11, 2002 12:59 pm
Thomas Heller Oct 11, 2002 01:26 pm
Anand Oct 17, 2002 06:38 am
Thomas Heller Oct 17, 2002 10:29 am
Fredrik Lundh Oct 11, 2002 02:15 pm
Messages in this thread