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

ici iltchevi at gmail.com
Fri Oct 9 11:41:31 EDT 2009


On Oct 1, 2:19 pm, John <J... at nospam.net> wrote:
> 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



More information about the Python-list mailing list