User avatar
GE_bill
Posts: 32
Joined: Thu May 10, 2012 2:42 am
Location: Milwaukee WI

Tkinter will not work

Sat Oct 29, 2016 11:55 pm

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

User avatar
scruss
Posts: 3212
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Tkinter will not work

Sun Oct 30, 2016 2:53 am

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.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

Return to “Beginners”