>  File "/sw/lib/python2.3/lib-tk/Tkinter.py", line 3, in ?

/sw means you're getting something out of Fink, which may be your
problem -- the fink install hacks a path set into your account's
dotfiles somewhere, so you may only *think* you're getting the one
that comes with osx... Note the difference:

$ python
Python 2.3 (#1, Sep 13 2003, 00:49:11) 
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 
$ /sw/bin/python
Python 2.3.3 (#1, Aug 23 2004, 20:06:57) 
[GCC 3.3 20030304 (Apple Computer, Inc. build 1640)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Also if you import sys and print sys.path in either case you'll find
*very* different sets of places that they look for installed things...

(It also looks from the traceback that you're missing a first line of
/sw/lib/python2.3/lib-tk/Tkinter.py, but that's locally strange...)
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to