Python Forum
cx_Freeze doesn't seem to work
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cx_Freeze doesn't seem to work
#1
I cannot get cx_Freeze to work at all and keep getting, when I try to build the exe file, the same error: "No module named cx_Freeze.util" 

Im using Python 3.52 on Windows 10. I downloaded cx_Freeze 5.0 from Sourceforge, and among other things got the scripts hello.py and setup.py in the folder C:\Users\Owen Walker\AppData\Local\Programs\Python\Python35-32\Lib\site-ackages\cx_Freeze\samples\simple. 

When I run, in that folder on the Windows 10 command line, python setup.py build, I get this error:

 "File "C:\Users\Owen Walker\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\cx_Freeze\freezer.py", line 256 in _GetDefaultBinPathExcludes import cx_Freeze.util

No module named cx_Freeze.util"

cx_Freeze seems so straightforward that I can't believe I can't make it work even in this simple instance.

Help in compiling this simple hello.py script into a Windows .exe would be greatly appreciated.


Owen Walker
Reply


Messages In This Thread
cx_Freeze doesn't seem to work - by owenwalker65 - Jan-02-2017, 05:49 PM
RE: cx_Freeze doesn't seem to work - by metulburr - Jan-02-2017, 06:03 PM
RE: cx_Freeze doesn't seem to work - by metulburr - Jan-02-2017, 08:48 PM
RE: cx_Freeze doesn't seem to work - by snippsat - Jan-03-2017, 12:07 AM
RE: cx_Freeze doesn't seem to work - by issac_n - Dec-06-2017, 10:09 AM
RE: cx_Freeze doesn't seem to work - by snippsat - Dec-06-2017, 05:49 PM
RE: cx_Freeze doesn't seem to work - by issac_n - Dec-07-2017, 02:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Convolution "same" in Python doesn't work as Matlab claw91 4 3,818 Oct-01-2020, 08:59 AM
Last Post: claw91
  Numpy doesn't work in Spyder 4.1.3 player1681 1 2,173 Jun-02-2020, 11:26 AM
Last Post: jefsummers
  scipy interp2d doesn't work player1681 4 4,543 Feb-05-2020, 09:50 AM
Last Post: player1681
  cx_freeze exe does nothing taigi100 0 2,694 Jul-08-2018, 02:11 PM
Last Post: taigi100
  cx_freeze exe error issac_n 0 3,326 Dec-07-2017, 10:08 AM
Last Post: issac_n
  cx_freeze setup.py TCL_LIBRARY error issac_n 0 3,788 Dec-05-2017, 10:40 AM
Last Post: issac_n
  Matplotlib Doesn't Work Ian12290 6 13,312 Feb-28-2017, 06:18 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020