Can't start IDLE on mac os x high sierra can't import Tkinter

Cei Sanderson ceiussandicus at gmail.com
Fri Dec 15 08:25:44 EST 2017


On Friday, December 15, 2017 at 12:44:14 PM UTC, Terry Reedy wrote:
> On 12/15/2017 6:37 AM, ceiussandicus at gmail.com wrote:
> > Hi, I've been trying to get python 3.4.3 (needed for programming course) on my mac, running High Sierra.
> > I've installed python and activetcl 8.5.18 as per instructions. When I start IDLE from finder it flashes in the dock and disappears. When I start it from terminal, I get the following response:
> > ** IDLE can't import Tkinter.
> > Your Python may not be configured for Tk. **
> > I've googled for the answer but I can't find anything, the closest I got was to this https://github.com/pyinstaller/pyinstaller/issues/2665 but I'm not sure if it is this issue or not.
> > Can someone help me get started using python?
> 
> I don't have a Mac, but I know that
> https://www.python.org/download/mac/tcltk/
> has some fairly exacting instructions at the bottom on how to get Python 
> to find the newly installed tcl/tk.  You should probably specify rather 
> exactly what you did.  There are multiple issues on bugs.python.org and 
> questions on stackoverflow.
> 
> -- 
> Terry Jan Reedy

Thanks Terry,
I posted on here because I've struggled after trawling through Google
and following the instructions on that page.
I have installed:
ActiveTcl 8.5.18.0
then I installed
Python 3.4.3
I've found the issue by continuing to trawl a bit more, the course download for python (a few years old) pointed to the python install for 10.5 onwards not 10.6 onwards. Installed the right python and working.



More information about the Python-list mailing list