help with DLL or path issue trying to use cx_Freeze

Bart Manchester bmanchester at
Sun Aug 7 20:54:07 CEST 2011

I suspect this may have gone out before I was a member, and thus potentially not be received - apologies if this did go out please ignore this second attempt if it did.

Im trying to use the most basic of cx_Freeze in a dos window and I receive the following error (see below).  I suspect I have some kind of path issue, but am at a loss as to how to proceed.  I am trying to execute this in the Scripts directory and have both the cxfreeze bat and also the .py file there.

Traceback (most recent call last):
  File "C:\Python32\Scripts\cxfreeze", line 5, in <module>
  File "C:\Python32\lib\site-packages\cx_Freeze\", line 187, in main
    silent = options.silent)
  File "C:\Python32\lib\site-packages\cx_Freeze\", line 84, in __init_
    for n in self._GetDefaultBinPathExcludes() + binPathExcludes]
  File "C:\Python32\lib\site-packages\cx_Freeze\", line 205, in _GetDe
    import cx_Freeze.util
ImportError: DLL load failed: %1 is not a valid Win32 application.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list