Py2exe executable not loading images
Fredrik Lundh
fredrik at pythonware.com
Fri Oct 11 10:15:25 EDT 2002
"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 -->
More information about the Python-list
mailing list