Page 1 of 1

Tkinter will not work

Posted: Sat Oct 29, 2016 11:55 pm
by GE_bill
I am running an updated version of Jessie on a Pi 3

Code: Select all

sudo apt-get python-tk
Claims it's already installed

Code: Select all

from Tkinter import * 
Still does not work. What would my next step be?
Thank you

Re: Tkinter will not work

Posted: Sun Oct 30, 2016 2:53 am
by scruss
not use Python 3, perhaps?

Python (aka Python 2):

Code: Select all

from Tkinter import *
Python 3:

Code: Select all

from tkinter import *
See the difference? Yeah, it makes no sense.