May I ask what version you are using? In an older version there was a problem that the util module was broken under certain circumstances. If you install 4.2 which was just released you should be okay.
Anthony On Fri, Jul 23, 2010 at 2:46 PM, Corey Richardson <kb1...@aim.com> wrote: > cx_Freeze used to work fine, and now I get this error: > > C:\Python31>python setup.py build > running build > running build_exe > Traceback (most recent call last): > File "mysetup.py", line 17, in <module> > executables = [Executable("PyConvert.py")]) > File "C:\Python31\lib\cx_Freeze\dist.py", line 345, in setup > distutils.core.setup(**attrs) > File "C:\Python31\lib\distutils\core.py", line 149, in setup > dist.run_commands() > File "C:\Python31\lib\distutils\dist.py", line 919, in run_commands > self.run_command(cmd) > File "C:\Python31\lib\distutils\dist.py", line 938, in run_command > cmd_obj.run() > File "C:\Python31\lib\distutils\command\build.py", line 128, in run > self.run_command(cmd_name) > File "C:\Python31\lib\distutils\cmd.py", line 315, in run_command > self.distribution.run_command(command) > File "C:\Python31\lib\distutils\dist.py", line 938, in run_command > cmd_obj.run() > File "C:\Python31\lib\cx_Freeze\dist.py", line 219, in run > silent = self.silent) > File "C:\Python31\lib\cx_Freeze\freezer.py", line 82, in __init__ > for n in self._GetDefaultBinPathExcludes() + binPathExcludes] > File "C:\Python31\lib\cx_Freeze\freezer.py", line 185, in > _GetDefaultBinPathEx > cludes > import cx_Freeze.util > ImportError: DLL load failed: %1 is not a valid Win32 application. > > The setup.py is the same one I've been using, just changing the name and > .py file.. > Any solutions? > Thanks! > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > cx-freeze-users mailing list > cx-freeze-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users