SyntaxFix
Write A Post
Hire A Developer
Questions
Try writing the following in the terminal:
sudo apt-get install python-tk
Don't forget to actually import Tkinter module at the beginning of your program:
import Tkinter