Python Forum
I can't run my executable pythpn application
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can't run my executable pythpn application
#1
Hi; I use python 3.6, and my PC is equipped with windows 10 64 bits.



for information, my PC is equipped with windows 10 64 bits.

I finished my script.py, and I turned it into an executable application by this command :

Quote:python setup.py build

and I tryed also this other command :

Quote:python setup.py bdist_msi

1) for the first case, I have a build folder that was created and that contains my executable application

2) for the second case, I have two folders build, and dist.
the stucture of the folder "build" is dispalyed by this picture:

[Image: u54c.jpg]

in both cases when I run my executable application created, it does not work

the file setup.py :

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 == "win64":
    base = "Win64GUI"

setup(  name = "cev",
        version = "0.1",
        description = "My CEV application!",
        options = {"build_exe": build_exe_options},
        executables = [Executable("cev.py", base=base)])
thanks for help
Reply


Messages In This Thread
I can't run my executable pythpn application - by atlass218 - Dec-23-2018, 11:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send data from a python application to an external application aditya_rajiv 1 2,191 Jul-26-2021, 06:00 AM
Last Post: ndc85430

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020