我想冻结我的程序,但是当我这样做并启动 .exe 时,我收到以下消息
No module named 'ttkwidgets'
这里是安装文件
import sys
from cx_Freeze import setup, Executable
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
options = {
'build_exe': {
'includes': 'atexit'
}
}
executables = [
Executable('BouclePrincipale.py', base="Win32GUI")
]
setup(name='simple_Tkinter',
version='0.1',
description='Sample cx_Freeze Tkinter script',
executables=executables
)