Search Result

Collapse
7 results in 0.0040 seconds.
Keywords
Members
Tags
py2exe
  •  

  • Unable to create executable - error: invalid command 'py2exe'

    Python version 2.7.1
    py2exe installed successfully
    version - py2exe-0.6.9.win32-py2.7
    py2exe in python path

    setup.py
    Code:
     
    from distutils.core import setup
    import py2exe
    
    setup(console=['helloworld.py'])
    Code:
    C:\Python27\Lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'console'
      warnings.warn(msg)
    usage: setup.py [global_opts]
    ...
    See more | Go to post

  • Alzei10
    started a topic Python cgi server py2exe

    Python cgi server py2exe

    Hello,
    I am trying to make a python cgi server.
    It works fine when not compiled, but with the exe it won't run the cgi.
    It says:
    "command: [my py2exe script] -u [name of cgi script]"
    It seams to be trying to run the script using the compiled exe.
    I was thinking you could run the script using execFile if sys.argv is equal to 2.
    See more | Go to post

  • Trolkar8
    started a topic Pygame program to executable error color dict?

    Pygame program to executable error color dict?

    I started to make a game using pygame.init() and wanted to test if it worked as an executable using py2exe so I made the an setup.py script which i called via cmd followed by py2exe
    setup.py
    Code:
    from distutils.core import setup
    import py2exe
    
    setup(console=['SKPD.py'])
    But after that when i try to run the program from the dist folder i get the error:
    Import Error: No module named colordict...
    See more | Go to post

  • wtzolt
    started a topic cx_freeze and glade themes when compiling.

    cx_freeze and glade themes when compiling.

    Question regarding compiling *.py script.
    Everything works fine when I compile the script except that there is no "theme". It looks like it's using win 98 skin or something. Looks very bad.
    Would like to know how to preserve gtk-theme-name = MS-Windows" .

    Which packages or modules should I include wen compiling with GUI2Exe.

    Any ideas?
    See more | Go to post

  • Thebuilderofdoom
    started a topic Py2exe complier Shell

    Py2exe complier Shell

    when i write a program in python compile it with py2exe and how you shell the complied .exe Like:
    Code:
    Shell test.exe C:\test1.txt
    it will write pie at the end
    so how you do it?
    See more | Go to post

  • josh001
    started a topic I'm having problems with py2exe

    I'm having problems with py2exe

    Hey, in an earlier question I asked why gui2exe wasn't working.
    Since then I've tried a couple of things but haven't found out much. Only that the problem has something to do with the sets module which py2exe is accessing.

    I tried,
    Code:
    import py2exe
    and got,
    Code:
    Warning (from warnings module):
      File "C:\Program Files\Python25\lib\site-packages\py2exe\build_exe.py", line 16
        import sets
    ...
    See more | Go to post

  • vishnu1986
    started a topic pygtk + py2exe + inno -> icon for shortcut

    pygtk + py2exe + inno -> icon for shortcut

    Hi guys,
    I saw quite a few posts regarding this but I was unable to solve this problem that I am facing.

    First off, when I do the following in my setup.py,

    windows=[
    {
    'script': 'gulhane.py',
    'icon_resources ': [(1, "icon.ico")]
    }
    ],

    Python crashes and I am unable to run the script...
    See more | Go to post
Working...