just help me...plz

Wenn du dir nicht sicher bist, in welchem der anderen Foren du die Frage stellen sollst, dann bist du hier im Forum für allgemeine Fragen sicher richtig.
Antworten
fox12345
User
Beiträge: 16
Registriert: Donnerstag 3. Oktober 2013, 08:46

I write very simple python script and it is working well. I am using python 2.7.5 (32bit) as well as I Compile it with "py2exe" and "cx_freeze" . after that it is working in my Windows 8 PC(64bit). The windows 8 PC is have the all software (python and other compiling tools) But problem is My simple EXE file is not working at windows XP (32bit) . It is give me to error massage. The error massage is " This application has failed to start because the application cofiguration is incorrect. Reinstalling the application may fix this problem. "

My compiling script :

Py2exe

Code: Alles auswählen

from distutils.core import setup
import py2exe

setup(console=['5.py'])
cx_freeze

Code: Alles auswählen

import sys
from cx_Freeze import setup, Executable

# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {"packages": ["os"], "excludes": ["tkinter"]}

# GUI applications require a different base on Windows (the default is for a
# console application).
base = None
if sys.platform == "win32":
    base = "Win32GUI"

setup(  name = "guifoo",
        version = "0.1",
        description = "My GUI application!",
        options = {"build_exe": build_exe_options},
        executables = [Executable("5.py", base=base)])
So what is the wrong?
any one help me....... :?:
fox12345
User
Beiträge: 16
Registriert: Donnerstag 3. Oktober 2013, 08:46

My python Program is

Code: Alles auswählen

import sys
import os
os.system('start cmd')


This is very basic. as well as other all compiles EXE are not working at my windows XP (32bit)
webspider
User
Beiträge: 485
Registriert: Sonntag 19. Juni 2011, 13:41

Somehow I've got the impression you should be using C# instead of Python.
BlackJack

Maybe giving the executable module an invalid module name isn't a good idea‽ Just a stab in the dark…
Antworten