Python into MSI Exe using Cx_freeze, error message -


hello people of world,

i have finished project, , love able turn exe distribution.

problem everytime try use cx_freeze build it, when firing exe error message:-

traceback(most recent call last): file "c:\python34\lib\site-packages\cx_freeze\initscripts\console.py",line 27, in <module>     exec(code,m.__dict__) file"calculator.py",line 1, in <module> file"c:\python\64bit\3.4\lib\importlib\_bootsrap.py",line2214,in_fine_and_load 

maybe relevant part of error message:- `attributeerror:'module'object has no attribute 'fix_up_module'

my scripts setup this.

from cx_freeze import setup, executable   includefiles = ['prices.dat','raftlogomain.gif'] # include files here wish includes = [] excludes = [] packages = []  exe = executable(    script = "calculator.py",    initscript = none,    base = 'win32gui',    targetname = "glass calculator.exe",    copydependentfiles = true,    compress = true,    appendscripttoexe = true,    appendscripttolibrary = true,    icon = none  )  setup(      name = "glass calculator",     version = "0.1",     description = 'bespoke calculations',     author = "lewis tabone",     author_email = "lewis@raftfurniture.co.uk",     options = {"build_exe": {"excludes":excludes,"packages":packages,       "include_files":includefiles}},     executables = [exe] ) 

which pretty straight forward.

its infuriating because cant it, must have answer!

many in advance!

reposting answer: known bug caused cx_freeze being built different bugfix release of python 3.4 you're using.

reinstall cx_freeze this site. that's recompiled new version of python, fixing error.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -