解决:pyinstaller ttkbootstrap 无法同时使用
pyinstaller --onefile --windowed Test.py --collect-all ttkbootstrap #测试通过
来源:tkinter - ttkbootstrap not working with pyinstaller - Stack Overflow
pyinstaller Test.py -F -w --collect-all ttkbootstrap #未进行测试,感觉应该也可以。
来源:aqqwvfbuknTkinter 界面美化-- ttkbootstrap_aqqwvfbukn的博客-优快云博客_python tkinter窗口美化
编译后,EXE文件明显变大,但谁又在乎呢。