I managed to find a solution through a combination of posts... here it is for anyone interested: in setup.cfg (for py2exe section): ######################### packages=encodings force-imports=sitecustomize ######################### and in sitecustomize.py: ######################### import sys, codecs sys.setdefaultencoding("latin1") ######################### Kevin.