TK nie jest zdefiniowany Python 3

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

from tkinter import Tk

main = Tk()
Orion