Python Error <No module named Tkinter>

HackCandy hackhell.candy at gmail.com
Sat Jan 24 18:36:29 CET 2009


Hello All,

I am pretty much new to Python. I tried  running a script and it 
breaks at the first line itself.

Distro Used : 2008.12
Command Line Used: xinit test.sh -- /usr/bin/Xglamo -hide-cursor -fp
/usr/lib/X11/fonts/100dpi,built-ins
  
Note: The script test.sh runs a python script test.py & while running
it gives me the following error.

ERROR: 
-----------------------------------------------------
Traceback (most recent call last):
  File "/home/root/bin/test.py", line 34, in <module>
    from Tkinter import *
ImportError: No module named Tkinter

root at om-gta02:~# ls /usr/bin/python*   <from device>
/usr/bin/python            /usr/bin/python2.5
/usr/bin/python-config     /usr/bin/python2.5-config

root at om-gta02:~# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin::/opt/Qtopia/bin

root at om-gta02:~# echo $LD_LIBRARY_PATH
:/opt/Qtopia/lib
------------------------------------------------------

I tried googling but found only for Desktop issues,
saying Install Python.

Do I have to install something? Or Am I missing
some PATH variables? 

I m clueless. Please help.

Thanks,
- HC
-- 
View this message in context: http://n2.nabble.com/Python-Error-%3CNo-module-named-Tkinter%3E-tp2209650p2209650.html
Sent from the Openmoko Devel mailing list archive at Nabble.com.




More information about the devel mailing list