setup.py:
import sys
from cx_Freeze import setup, Executable
build_exe_options = {"packages": ["lxml","tkinter","win32timezone","docx"] }
setup( name = "ProgramGUI",
version = "0.1",
description = "Telephone History Tracer",
options = {"build_exe": build_exe_options},
executables = [Executable("Telephone History Tracer.py")],
)
It builds great.
When I start the program, I get an error message:
docx.opc.exceptions.PackageNotFoundError: Package not found at'C:\Python33\build\exe.win32-3.3\library.zip\docx\templates\default.docx'
I put a folder in the templatesfolder templatesin ...library.zip\docx\(which contains the default.docx file), but I still get the same error.
I would really appreciate some advice on this.
source
share