I'm hoping I'm not the first to deal with this issue but here goes.
running py2exe I get this error
Traceback (most recent call last):
File "setup.py", line 4, in (module)
setup(console=['hello.py'])
File "C:\Python27\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Python27\lib\site-packages\py2exe\build_exe.py", line 243, in run
self._run()
File "C:\Python27\lib\site-packages\py2exe\build_exe.py", line 305, in _run
dlls = self.find_dlls(extensions)
File "C:\Python27\lib\site-packages\py2exe\build_exe.py", line 389, in find_dlls
self.dll_excludes)
File "C:\Python27\lib\site-packages\py2exe\build_exe.py", line 1021, in find_dependend_dlls
import py2exe_util
ImportError: DLL load failed: %1 is not a valid Win32 application.