[Tutor] No module named '_tkinter'

Reuben reuben.dlink at gmail.com
Mon Dec 9 04:57:14 CET 2013


Can you try importing the module '_tkinter'
On 09-Dec-2013 6:43 AM, "pierre dagenais" <eq742 at ncf.ca> wrote:

> Hi,
> I'm running Ubuntu 10.04 and I've installed python 3.3.3 from the
> tarball at http://python.org/ftp/python/3.3.3/Python-3.3.3.tar.xz
>
> Here is the error I get when trying to run tkinter.
>
> pierre at Sprint:~$ python3.3
> Python 3.3.3 (default, Dec  2 2013, 11:10:53)
> [GCC 4.6.3] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import tkinter
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python3.3/tkinter/__init__.py", line 40, in <module>
>     import _tkinter # If this fails your Python may not be configured for
> Tk
> ImportError: No module named '_tkinter'
> >>>
>
> I've tried installing python3-tk from the Ubuntu repository but it
> doesn't help.
>
> Any suggestion on how to install the tkinter module with this version?
>
> Thank you,
>
> PierreD.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131209/4749c4f5/attachment.html>


More information about the Tutor mailing list