Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cx_freeze exe error
#1
Manage to generate the exe file but comes with error when trying to running it .
below is my code and the error message.
anything wrong with the code?
from cx_Freeze import setup, Executable
import os
import sys

os.environ['TCL_LIBRARY'] = r'C:\ProgramData\Miniconda3\tcl\tcl8.6'
os.environ['TK_LIBRARY'] = r'C:\ProgramData\Miniconda3\tcl\tk8.6'

build_exe_options = {"packages": ["os","tkinter","tkinter.ttk","glob","pandas"],
                     "include_files": [(r"c:\ProgramData\Miniconda3\DLLs\tcl86t.dll"),(r"c:\ProgramData\Miniconda3\DLLs\tk86t.dll")],
                     "excludes": []
                    }

executables = [Executable("Merge.py",base="Win32GUI")]

setup(
    name = "<Merge>",
    options = {"build_exe": build_exe_options},
    version = "1.1.1.1",
    description = "Merge1.0",
    executables = executables
Error message:-

Problem Event Name: APPCRASH
Application Name: Merge.exe
Application Version: 1.1.1.1
Application Timestamp: 59fe3eec
Fault Module Name: ucrtbase.DLL
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  cx_freeze exe does nothing taigi100 0 2,660 Jul-08-2018, 02:11 PM
Last Post: taigi100
  cx_Freeze doesn't seem to work owenwalker65 7 16,747 Dec-07-2017, 02:23 AM
Last Post: issac_n
  cx_freeze setup.py TCL_LIBRARY error issac_n 0 3,753 Dec-05-2017, 10:40 AM
Last Post: issac_n

Forum Jump:

User Panel Messages

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