TK ist nicht definiert Python 3

# Tk was renamed many versions ago, you should instead import tkinter

from tkinter import Tk

main = Tk()
Orion