ttkbootstrap bgerror failed to handle background error

93 Views Asked by At

Python Console Window:

Python Console Window

Hoping someone can help with this error I am receive anytime i ran a program consecutively in ttkbootstrap without restarting the console. If i restart the console window it does not occur.

import tkinter as tk
import ttkbootstrap as ttk
from tkinter import messagebox
import pandas as pd


root = ttk.Window(title="Hello", themename="superhero")
root.geometry("800x650")

root.mainloop()

If i have this simple window and run it, close it, and run it again, I get the error message in the attached picture. Also, in subsequent runs my program does not seem to be incorporating ttkbootstrap widgets. Only when i restart the console does it run right. Any assistance with getting around this would be great.

0

There are 0 best solutions below