I am attempting to build a relatively simple wx app with cx_Freeze on linux
(though, it is intended for both windows and linux, so I might combine the
two).
When I attempt to run the setup.py file, I get an import error:
python setup_linux.py build
running build
running build_exe
Traceback (most recent call last):
  File "setup_linux.py", line 24, in <module>
    executables = [Executable("motd.py", base = base)])
  File "/usr/lib64/python2.6/site-
packages/cx_Freeze/dist.py", line 345, in setup
    distutils.core.setup(**attrs)
  File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib64/python2.6/distutils/command/build.py", line 134, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib64/python2.6/site-packages/cx_Freeze/dist.py", line 220, in
run
    freezer.Freeze()
  File "/usr/lib64/python2.6/site-packages/cx_Freeze/freezer.py", line 430,
in Freeze
    import cx_Freeze.util
ImportError: No module named util

I am using a setup.py script very similar to the cx_Freeze/samples/wx
script. I tried running that exact script in the sample directory and it had
the same error.
I then tried installing cx_Freeze in Windows, and running it (using the same
setup.py) and got the exact same error.

What do I need to do to fix this, or what am I missing?
Thanks for your time,


-- 
Reece Heinlein
(208) 409-2698
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to