"cx_Freeze.freezer.ConfigError: no initscript named Console"

J

John

cx_freeze v4.01
Python 2.6
Ubuntu Jaunty

Following the example of 'cx-freeze hello.py', I'm getting the error
message below. I put all of the error keywords into google and found no
hits.

Some people in various posts have said to use Python 2.5 but a lot of my
code is using Python 2.6 features.

Can you telling what I'm doing wrong?

../cxfreeze hello.py
Traceback (most recent call last):
File "./cxfreeze", line 5, in <module>
main()
File "/root/cx_Freeze-4.1/cx_Freeze/main.py", line 178, in main
silent = options.silent)
File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 85, in __init__
self._VerifyConfiguration()
File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 325, in
_VerifyConfiguration
self._GetInitScriptFileName()
File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 246, in
_GetInitScriptFileName
raise ConfigError("no initscript named %s", name)
cx_Freeze.freezer.ConfigError: no initscript named Console
 
I

ici

cx_freeze v4.01
Python 2.6
Ubuntu Jaunty

Following the example of 'cx-freeze hello.py', I'm getting the error
message below. I put all of the error keywords into google and found no
hits.

Some people in various posts have said to use Python 2.5 but a lot of my
code is using Python 2.6 features.

Can you telling what I'm doing wrong?

./cxfreeze hello.py
Traceback (most recent call last):
File "./cxfreeze", line 5, in <module>
main()
File "/root/cx_Freeze-4.1/cx_Freeze/main.py", line 178, in main
silent = options.silent)
File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 85, in __init__
self._VerifyConfiguration()
File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 325, in
_VerifyConfiguration
self._GetInitScriptFileName()
File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 246, in
_GetInitScriptFileName
raise ConfigError("no initscript named %s", name)
cx_Freeze.freezer.ConfigError: no initscript named Console

Hi, I found the same problem when used to install cx_freeze via
easy_install. Download the cx_freeze sorce, than:

sudo setup.py install

Now all is fine.
Ubuntu 9.04, Python 2.6
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,962
Messages
2,570,134
Members
46,692
Latest member
JenniferTi

Latest Threads

Top