pb py32exe and PIL

Thomas Heller theller at python.net
Sun Apr 6 11:42:03 EDT 2003


ryomanga at aol.com (Ryomanga) writes:

> As in the title I got a pb with py2exe and the PIL library.
> When I use the exe i've got the following error message :
> 
>   File "Image.pyc", line 960, in open
> IOError: cannot identify image file
> 
> It seems it can't read my pictures. I've try to change their format and
> directory but nothing changes. Is there something special to do with PIL like
> with PMW??
> 
You have to import the plugins you need in your script so that
py2exe knows they are used. You should be able to google for this
questions and find some answers.

Thomas




More information about the Python-list mailing list