help me
Dave Angel
davea at ieee.org
Wed Jun 9 06:39:00 EDT 2010
madhuri vio wrote:
> 1) 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
> [GCC 4.3.3]
>
>
>
So you've got the wrong name for Tkinter. In version 2.x, you need
import Tkinter
> 2)>>> import sys
>
>>>> print sys.path
>>>>
> ['', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2',
> '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old',
> '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages',
> '/usr/lib/python2.6/dist-packages/PIL',
> '/usr/lib/python2.6/dist-packages/gst-0.10',
> '/var/lib/python-support/python2.6',
> '/usr/lib/python2.6/dist-packages/gtk-2.0',
> '/var/lib/python-support/python2.6/gtk-2.0',
> '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode',
> '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
> '/usr/local/lib/python2.6/dist-packages']
>
>
>
You still haven't said where the installation is. But at least now you
know you should be looking for Tkinter.py
rather than tkinter.py
>
<snip>
More information about the Python-list
mailing list