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
#7
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)])
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,879 Oct-01-2020, 08:59 AM
Last Post: claw91
  Numpy doesn't work in Spyder 4.1.3 player1681 1 2,195 Jun-02-2020, 11:26 AM
Last Post: jefsummers
  scipy interp2d doesn't work player1681 4 4,585 Feb-05-2020, 09:50 AM
Last Post: player1681
  cx_freeze exe does nothing taigi100 0 2,716 Jul-08-2018, 02:11 PM
Last Post: taigi100
  cx_freeze exe error issac_n 0 3,351 Dec-07-2017, 10:08 AM
Last Post: issac_n
  cx_freeze setup.py TCL_LIBRARY error issac_n 0 3,808 Dec-05-2017, 10:40 AM
Last Post: issac_n
  Matplotlib Doesn't Work Ian12290 6 13,362 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