fork download
  1. from cx_Freeze import setup, Executable
  2. import sys
  3. import os
  4.  
  5. base = None
  6. executables = [Executable("fbroi.py", base=base)]
  7. build_exe_options = {"packages": ["files", "tools"], "include_files": ["tcl86t.dll", "tk86t.dll"]}
  8. os.environ['TCL_LIBRARY'] = "C:/Users/Asgard/Anaconda3/tcl/tcl8.6"
  9. os.environ['TK_LIBRARY'] = "C:/Users/Asgard/Anaconda3/tcl/tcl8.6"
  10. setup(name="Name",
  11. version="1.0",
  12. description="Description",
  13. options={"build_exe": build_exe_options},
  14. executables=[Executable("fbroi.py", base=base)],
  15. package_dir={'': ''},
  16. )
Runtime error #stdin #stdout #stderr 0.02s 28384KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
ImportError: No module named 'cx_Freeze'