I'm doing a graphical interface of a program, I just started and it's already giving me problems. In the interface only one text and two buttons appear, the problem is that when I run the program, no graphic window or anything opens. I leave the code in case there is an error that I do not detect:
from tkinter import *
from tkinter import messagebox
import sqlite3
#-----------PANTALLA INICIO Y CREAR CUENTA------------
raiz=Tk()
frameInicio=Frame(raiz, width=500, height=500)
frameInicio.pack()
labelBienvenida=Label(frameInicio, text="BIENVENIDO AL GESTOR DE ALMACÉN")
labelBienvenida.grid(row=0, column=1, padx=10, pady=10)
inicioSesion=Button(frameInicio, text="Iniciar sesión")
inicioSesion.grid(row=1, column=1, padx=10, pady=10)
crearCuenta=Button(frameInicio, text="Crear cuenta")
crearCuenta.grid(row=2, column=1, padx=10, pady=10)