-2

I am faced with No module named 'Tkinter' when using Python Anaconda 3.6. How can I access the module? I am using Windows 7 with 64-bit operating system.

Karl Knechtel
  • 62,466
  • 11
  • 102
  • 153
Fardin
  • 29
  • 5

1 Answers1

0

import tkinter

If you do not want to have to write tkinter. before each tkinter command:

from tkinter import *

  • 1
    You mean, if you want to pollute your namespace with loads of unknown names? No seriously, never import `*` from a module. – Right leg Sep 09 '17 at 09:37