Python Forum
cx_Freeze doesn't seem to work
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cx_Freeze doesn't seem to work
#8
(Dec-06-2017, 05:49 PM)snippsat Wrote: They are for include module/package and other stuff that may be needed in build posses.
Example this was needed to get pyttsx to work.
#cx_run.py
from cx_Freeze import setup,Executable

includes = ["pyttsx", "pyttsx.drivers.sapi5"]
excludes = []
packages = ['win32com.gen_py']

filename = "sound_test.py"
setup(
    name = 'myapp',
    version = '0.1',
    description = 'test pyttsx',
    author = 'no',
    author_email = '[email protected]',
    options = {'build_exe': {'excludes':excludes,'packages':packages,'includes':includes}},
    executables = [Executable(filename, base = "Win32GUI", icon = None)])

how should I put the module and etc ?
i do have some module as below
from tkinter import *
from tkinter import filedialog 
import tkinter.ttk as ttk
import os
import pandas as pd  
import glob
from pandas import ExcelWriter
from pandas import ExcelFile
import time, sys
Reply


Messages In This Thread
cx_Freeze doesn't seem to work - by owenwalker65 - Jan-02-2017, 05:49 PM
RE: cx_Freeze doesn't seem to work - by metulburr - Jan-02-2017, 06:03 PM
RE: cx_Freeze doesn't seem to work - by metulburr - Jan-02-2017, 08:48 PM
RE: cx_Freeze doesn't seem to work - by snippsat - Jan-03-2017, 12:07 AM
RE: cx_Freeze doesn't seem to work - by issac_n - Dec-06-2017, 10:09 AM
RE: cx_Freeze doesn't seem to work - by snippsat - Dec-06-2017, 05:49 PM
RE: cx_Freeze doesn't seem to work - by issac_n - Dec-07-2017, 02:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Convolution "same" in Python doesn't work as Matlab claw91 4 3,824 Oct-01-2020, 08:59 AM
Last Post: claw91
  Numpy doesn't work in Spyder 4.1.3 player1681 1 2,175 Jun-02-2020, 11:26 AM
Last Post: jefsummers
  scipy interp2d doesn't work player1681 4 4,545 Feb-05-2020, 09:50 AM
Last Post: player1681
  cx_freeze exe does nothing taigi100 0 2,695 Jul-08-2018, 02:11 PM
Last Post: taigi100
  cx_freeze exe error issac_n 0 3,330 Dec-07-2017, 10:08 AM
Last Post: issac_n
  cx_freeze setup.py TCL_LIBRARY error issac_n 0 3,789 Dec-05-2017, 10:40 AM
Last Post: issac_n
  Matplotlib Doesn't Work Ian12290 6 13,316 Feb-28-2017, 06:18 AM
Last Post: buran

Forum Jump:

User Panel Messages

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