M
Martyn Quick
On my desk here at work I have a Mac G4 running Mac OS X v10.2.8.
When I go into a terminal and type "python" up comes a nice python
interface and all seems great. However when I type "import Tkinter"
I'm greeted by the following error.
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 35, in ?
import _tkinter # If this fails your Python may not be configured
for Tk
ImportError: No module named _tkinter
So I guess something about this implementation is not appropriately
configured. I'm guessing this is the default behaviour since I don't
think anyone did anything special about python when they set up my
machine.
What do I do to set it up so I can use Tkinter?
Thanks... and sorry if this is an FAQ... but I couldn't find the info
easily.
Yours,
Martyn
When I go into a terminal and type "python" up comes a nice python
interface and all seems great. However when I type "import Tkinter"
I'm greeted by the following error.
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 35, in ?
import _tkinter # If this fails your Python may not be configured
for Tk
ImportError: No module named _tkinter
So I guess something about this implementation is not appropriately
configured. I'm guessing this is the default behaviour since I don't
think anyone did anything special about python when they set up my
machine.
What do I do to set it up so I can use Tkinter?
Thanks... and sorry if this is an FAQ... but I couldn't find the info
easily.
Yours,
Martyn