Skip to content Skip to sidebar Skip to footer

Cx_Freeze Not Able To Build Msi With Pandas

Hi I have following cx_Freeze setup.py file for an application that uses pandas module. When I generate msi I am facing issues. I looked all over the google for this but none of t

Solution 1:

pandas depends on numpy and you need to explicitly add numpy to the packages list of the build_exe options in order that cx_Freezeincludes numpycorrectly, see Creating cx_Freeze exe with Numpy for Python

Try to add the following to your setup script

packages = ['numpy']

and to modify the options according to

options={"build_exe": {"excludes":excludes,
                       "includes":includes,
                       "include_files":includefiles,
                       "packages":packages},
         "bdist_msi" : bdist_msi_option},

Post a Comment for "Cx_Freeze Not Able To Build Msi With Pandas"