Py2exe executable not loading images

Thomas Heller thomas.heller at
Thu Oct 17 12:29:36 CEST 2002

anandpillai6 at (Anand) writes:

> Hi Thomas
>  Thanks a lot. It worked. I have similar problems in the module
> os, when using the os.listdir() function. Any ideas about it ?
>  Here is the error report:
>   "LookupError: no codec search functions registered: can't find encoding"
>   I am passing a unicode string to the function os.listdir(dir) which works
> well in normal python interpreter.

You must include the encodings package
Build it with 'python --packages=encodings'.
Or insert this in your setup.cfg file:




More information about the Python-list mailing list