Discussion:
Can't start IDLE on mac os x high sierra can't import Tkinter
(too old to reply)
c***@gmail.com
2017-12-15 11:37:02 UTC
Permalink
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?
Cheers
ceiussandicus
Terry Reedy
2017-12-15 12:43:39 UTC
Permalink
Post by c***@gmail.com
Hi, I've been trying to get python 3.4.3 (needed for programming course) on my mac, running High Sierra.
** 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
Cei Sanderson
2017-12-15 13:25:44 UTC
Permalink
Post by Terry Reedy
Post by c***@gmail.com
Hi, I've been trying to get python 3.4.3 (needed for programming course) on my mac, running High Sierra.
** 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.
Terry Reedy (Terry Reedy)
2017-12-14 19:43:38 UTC
Permalink
Post by c***@gmail.com
Hi, I've been trying to get python 3.4.3 (needed for programming course) on
my mac, running High Sierra.
Post by c***@gmail.com
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
Post by c***@gmail.com
** 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.
Post by c***@gmail.com
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
Cei Sanderson (Cei Sanderson)
2017-12-14 17:25:44 UTC
Permalink
Post by Terry Reedy
Post by c***@gmail.com
Hi, I've been trying to get python 3.4.3 (needed for programming course) on
my mac, running High Sierra.
Post by Terry Reedy
Post by c***@gmail.com
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
Post by Terry Reedy
Post by c***@gmail.com
** 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.
Post by Terry Reedy
Post by c***@gmail.com
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.

Loading...