help with DLL or path issue trying to use cx_Freeze

Bart Manchester bmanchester at azteknetworks.com
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.



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

C:\Python32\Scripts>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110807/8a74d4ff/attachment.html>


More information about the Python-list mailing list