pb py32exe and PIL

David Morgenthaler boogiemorg at aol.com
Sun Apr 6 20:49:56 EDT 2003


ryomanga at aol.com (Ryomanga) wrote in message news:<20030406074208.01628.00000159 at mb-cb.aol.com>...
> 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??
> 
> Thanks for your help
>      Guilhèm

This did it for me:
>python setup.py py2exe -pPIL




More information about the Python-list mailing list