Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > cx_freeze install_exe error

Reply
Thread Tools

cx_freeze install_exe error

 
 
james27
Guest
Posts: n/a
 
      10-16-2009

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-inst...p25930611.html
Sent from the Python - python-list mailing list archive at Nabble.com.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cx_Freeze 3.0.2 and Linux sax problem. 1stpoint Python 0 03-03-2006 04:09 PM
cx_freeze error : LookupError: no codec search functions registered: can't find encoding Thomas W Python 1 06-09-2005 10:02 PM
RE: cx_freeze error : LookupError: no codec search functions Ivan Shevanski Python 0 06-09-2005 05:22 PM
cx_freeze error zyqnews@163.net Python 5 01-30-2005 04:12 AM
$LD_LIBRARY_PATH, cx_Freeze and wxPython Simon John Python 2 09-19-2004 07:31 AM



Advertisments