[Solved] Too Early to create image [duplicate]


I believe the problem is you have the Tk() object scoped specifically to the Game() class. Try putting root = tk.Tk() at the very top of your python and use root/pass it around for the handle for your Tkinter work. Also, you are using a variable called “tk” even after you imported Tkinter as tk. Consider using a different name for that variable or you could run into some problems.

3

solved Too Early to create image [duplicate]