Advertisement
Darker666

tkinter not working with Python 3

Nov 28th, 2016
739
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. D:\ ... \reversi>python reversi_creator.py
  2. Traceback (most recent call last):
  3. File "D:\ ... \reversi\reversi_view.py", line 3, in <module>
  4. from Tkinter import Tk,Canvas,Label,IntVar,Scale,Button,StringVar,OptionMenu,HORIZONTAL,font
  5. ImportError: No module named 'Tkinter'
  6.  
  7. During handling of the above exception, another exception occurred:
  8.  
  9. Traceback (most recent call last):
  10. File "D:\ ... \reversi\reversi_creator.py", line 3, in <module>
  11. from reversi_view import ReversiView
  12. File "D:\ ... \reversi\reversi_view.py", line 6, in <module>
  13. from tkinter import Tk, Canvas,Label,IntVar,Scale,Button,StringVar,OptionMenu,HORIZONTAL,font
  14. ImportError: No module named 'tkinter'
  15.  
  16. D:\ ... \reversi>python
  17. Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] on win32
  18. Type "help", "copyright", "credits" or "license" for more information.
  19. >>> exit()
Advertisement
RAW Paste Data Copied
Advertisement