I am very new to cx_Freeze, but when I tried to use pyHooks, it didn't work. here's my setup.py code:
from cx_Freeze import setup, Executable
includes=["re", "pyHook"]
exe = Executable(
script="hello.py",
base="Win32Gui",
targetName = "hello.exe"
)
setup(
name = "hello",
version = "1",
description = "description",
options = {"build_exe": {"includes":includes}},
executables = [exe]
)
and when I run the exe file, the error says:
ImportError: cannot import name cpyHook