# if you want to just install on the terminal do pip install tkinter import os os.system("cmd /c 'pip install tkinter'")