ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> image-sig
image-sig
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved