<s>[INST] import tkinter as tk
root = tk.Tk()
label1 = tk.Label(root, text="Hello World", height=3)
label1.pack()
root.mainloop()

This is code for a simple GUI application displaying Hello world. but it can't be run. The code is running without any errors but it's not displaying the GUI.

The problem is that I am running it on a Mac with macOS High Sierra. The script is being run from a Jupyter notebook. 

Can someone explain what is going on and how to solve this problem?[/INST]