[Tutor] Tkinter + OSX

darksyyyde darksyyyde@earthlink.net
Wed, 18 Sep 2002 13:46:23 -0600


Im running OSX 10.1.3, and i have 'fink' installed.
Under Python help, it show TKinter as one of the modules,
but the module is not present apparently.

 >>> import _tkinter
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
ImportError: No module named _tkinter


When trying to install python with fink, i got...

The following package will be installed or updated:
  python
The following 5 additional packages will be installed:
  db3 expat gdbm gmp readline
Do you want to continue? [Y/n] y
rm -rf db3-3.3.11-2
mkdir -p /macunix/src/db3-3.3.11-2
tar -xvzf /macunix/src/db-3.3.11.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
### tar failed, exit code 2
Unpacking the tarball db-3.3.11.tar.gz of package db3-3.3.11-2 failed. The
most likely cause for this is a corrupted or incomplete download. Do you 
want
to delete the tarball and download it again? [Y/n] y


This would just happen over and over, no matter how many times i
entered 'y'.
I pulled the tar.gz file out of the fink subdirectory ( or copied it )
to the local directory that i made for python.
I then unpacked it with stufit expander.

As you can see, i was able to setup and make python this way, but theres
no TKinter.
I suppose i should ask if TKinter is even operable under MacOSX...
is it?
/me scratches head.