February 21st, 2004, 09:06 AM
Join Date: Feb 2004
Time spent in forums: < 1 sec
Reputation Power: 0
May this helps...
Recheck the output of py2exe for a traceback
I had the same error with an 'old' *.exe file my 'bin' directory (an older version of the script I copyied to the folder I store my python exes).
Seems it can
be that some part of your exe file doesn't match the libraries (datetime.pyd, library.zip, python23.dll,wxpopen.exe, _sre.pyd etc.) you have copied/which are created by py2exe.
Make sure you really have a new .exe after calling py2exe.
Recall your 'setup.py py2exe' combo until you get NO TRACEBACK !
BTW: Please note also that py2exe has changed:
an older version had the key/value "script=['cconv.py']", the newest (from about 2 weeks before) had now "console=['cconv.py']" for a console application ...
sample "setup.py" from my sources:
from distutils.core import setup
setup(name='cconv /eol 2003',
description="wrapper for charconv.exe ",
Last edited by eolruin : February 21st, 2004 at 09:10 AM.