Problems with Pyinstaller with tkinter app on python 3.5

前端 未结 2 538
予麋鹿
予麋鹿 2020-12-30 13:47

Just getting started with Pyinstaller (and somewhat with Tk windowing) and having trouble getting my tkinter windows app (under python 3.5) running successfully. I may be do

2条回答
  •  情话喂你
    2020-12-30 14:21

    I was having a similar issues with tkinter and python 3.5 after looking over https://pythonhosted.org/PyInstaller/hooks.html#understanding-pyinstaller-hooks

    add the option of --hidden-import tkinter

    pyinstaller --onefile --hidden-import tkinter hello.py

提交回复
热议问题