Python Error <No module named Tkinter>
Michael Sheldon
mike at mikeasoft.com
Sat Jan 24 19:15:36 CET 2009
HackCandy wrote:
> Hello All,
>
> I am pretty much new to Python. I tried running a script and it
> breaks at the first line itself.
<snip>
> ERROR:
> -----------------------------------------------------
> Traceback (most recent call last):
> File "/home/root/bin/test.py", line 34, in <module>
> from Tkinter import *
> ImportError: No module named Tkinter
You need to install the python tkinter module, you can do this by running:
opkg install python-tkinter.
Unlike desktop distributions of Python most of the core python modules
are packaged separately to reduce space usage.
Cheers,
Mike.
More information about the devel
mailing list