Cx_freeze Building A Project To An .exe File, Getting Numpy Import Errors
I am trying to compile my project to an .exe file. I've read around the internet that cx_freeze is a good choice for this. So I have this setup.py script: import sys from cx_Freez
Solution 1:
This is how I've typically gotten numpy to work with my cx_freeze applications
addtional_mods = ['numpy.core._methods', 'numpy.lib.format']
packages = ["numpy"]
options = {
'build_exe': {
'includes': addtional_mods,
'packages':packages,
},
}
Post a Comment for "Cx_freeze Building A Project To An .exe File, Getting Numpy Import Errors"