Actions: insolor/async-tkinter-loop Python tests python-tests.yml 147 workflow runs Bump the examples group with 2 updatesPython tests#285:Commite616cbapushed byinsolor January 1, 2025 11:05 main January 1, 2025
错误信息 RuntimeError: main thread is not in main loop Tcl_AsyncDelete: async handler deleted by the wrong thread 通常与多线程环境中的 GUI 操作不当有关,特别是在使用 Tkinter 或 Matplotlib 这样的图形库时。该错误表明,Tkinter 的主线程(通常是创建 Tkinter 窗口的那个线程)没有在其主事件循环中运行,...
24946 INFO: Loading module hook 'hook-lib2to3.py' from '/usr/local/lib/python3.9/site-packages/PyInstaller/hooks'... 24976 INFO: Loading module hook 'hook-_tkinter.py' from '/usr/local/lib/python3.9/site-packages/PyInstaller/hooks'... 25136 INFO: checking Tree 25155 INFO: checking Tree...
python2 tk python2 tkinter Python 提供了多个图形开发界面的库,几个常用 Python GUI 库如下: Tkinter: Tkinter 模块(Tk 接口)是 Python 的标准 Tk GUI 工具包的接口 .Tk 和 Tkinter 可以在大多数的 Unix 平台下使用,同样可以应用在 Windows 和 Macintosh 系统里。Tk8.0 的后续版本 python2 tk 控件 Pytho...
tkinter/__init__.py", line 4056, in __del__ self.tk.call('image', 'delete', self.name) RuntimeError: main thread is not in main loop Exception ignored in: <function Image.__del__ at 0x7f0049027250> Traceback (most recent call last): File "/usr/lib/python3.10/tkinter/__init...
File "/usr/lib/python3.7/tkinter/__init__.py", line 3504, in __del__ RuntimeError: main thread is not in main loop Tcl_AsyncDelete: async handler deleted by the wrong thread Abandon I do the stuff into a separate thread because I want my primary thread to be responsive, no gui et...