0
import Tkinter as tk

Error : ModuleNotFoundError: No module named 'Tkinter'

David Gladson
  • 547
  • 9
  • 17

3 Answers3

0

For python2 it is Tkinter

For python3 it is tkinter

jupyter notebook is mostly python3 so you may want to try

from tkinter import *

this question is similar to this question Difference between TKinter and tkinter

wildcloud
  • 1
  • 1
-1

As others have stated if you are using python 3 the module name has changed to tkinter from Tkinter, so using import tkinter should solve your problem

IpSp00f3r
  • 83
  • 1
  • 2
  • 8
-1
from Tkinter import *
win=Tk()
win.title('My First GUI')
win.mainloop()
JKirchartz
  • 17,612
  • 7
  • 60
  • 88
sarmad
  • 1