cx_freeze install_exe error

Discussion in 'Python' started by james27, Oct 16, 2009.

  1. james27

    james27 Guest

    hello
    im currently installed cx_freeze on linux.
    and want to make win32 exe file on linux by use cx_freeze.
    and then will distribute on widows platform.
    one of my problem is ,i can build with no problem.
    but whenever i run,it something weird error message was show.
    follow is my log file.
    anybody can help me ? thanks in advance
    in addition if i use cx_freeze command option with 'install_exe', can i make
    win32 executable file?

    Code:
     
    
    root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple# more
    setup.py
    # A very simple setup script to create a single executable
    #
    # hello.py is a very simple "Hello, world" type script which also displays
    the
    # environment in which the script runs
    #
    # Run the build process by running the command 'python setup.py build'
    #
    # If everything works well you should find a subdirectory in the build
    # subdirectory that contains the files needed to run the script without
    Python
    
    from cx_Freeze import setup, Executable
    
    setup(
            name = "hello",
            version = "0.1",
            description = "Sample cx_Freeze script",
            executables = [Executable("hello.py")])
    
    root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple# ls
    hello.py  setup.py
    
    
    root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple#
    python setup.py install_exe
    running install_exe
    running build_exe
    creating directory build/exe.linux-i686-2.5
    coyping /usr/lib/python2.5/site-packages/cx_Freeze/bases/Console ->
    build/exe.linux-i686-2.5/hello
    coyping /usr/lib/libpython2.5.so.1.0 ->
    build/exe.linux-i686-2.5/libpython2.5.so.1.0
    writing zip file build/exe.linux-i686-2.5/library.zip
    m encodings.cp037
    중간ìƒëžµ
    copying build/exe.linux-i686-2.5/_multibytecodec.so -> /usr/lib/hello-0.1
    copying build/exe.linux-i686-2.5/bz2.so -> /usr/lib/hello-0.1
    copying build/exe.linux-i686-2.5/_codecs_kr.so -> /usr/lib/hello-0.1
    copying build/exe.linux-i686-2.5/_codecs_cn.so -> /usr/lib/hello-0.1
    
    
    root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple# ls
    build  hello.py  setup.py
    
    
    root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple# cd
    build/
    
    
    root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple/build#
    ls
    exe.linux-i686-2.5
    
    
    root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple/build#
    cd exe.linux-i686-2.5/
    
    
    root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple/build/exe.linux-i686-2.5#ls
    _codecs_cn.so       _codecs_kr.so       array.so      hello               
    unicodedata.so
    _codecs_hk.so       _codecs_tw.so       binascii.so   itertools.so        
    zlib.so
    _codecs_iso2022.so  _multibytecodec.so  bz2.so        libpython2.5.so.1.0
    _codecs_jp.so       _struct.so          cStringIO.so  library.zip
    
    
    root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple/build/exe.linux-i686-2.5#hello
    Hello from cx_Freeze
    
    Executable: '/usr/bin/hello'
    Prefix: '/'
    File system encoding: 'ANSI_X3.4-1968'
    
    ARGUMENTS:
    hello
    
    PATH:
    /usr/bin/../lib/hello-0.1/hello
    /usr/bin/../lib/hello-0.1
    /usr/bin/../lib/hello-0.1/hello.zip
    /usr/bin/../lib/hello-0.1/library.zip 
    
    --
    View this message in context: http://www.nabble.com/cx_freeze-install_exe-error-tp25930611p25930611.html
    Sent from the Python - python-list mailing list archive at Nabble.com.
    james27, Oct 16, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon John
    Replies:
    2
    Views:
    690
    Simon John
    Sep 19, 2004
  2. cx_freeze error

    , Jan 30, 2005, in forum: Python
    Replies:
    5
    Views:
    998
    Peter Hansen
    Jan 30, 2005
  3. Thomas W
    Replies:
    1
    Views:
    1,619
    Thomas W
    Jun 9, 2005
  4. Ivan Shevanski
    Replies:
    0
    Views:
    543
    Ivan Shevanski
    Jun 9, 2005
  5. 1stpoint
    Replies:
    0
    Views:
    292
    1stpoint
    Mar 3, 2006
Loading...

Share This Page