[Tutor] No module named '_tkinter'

pierre dagenais eq742 at ncf.ca
Mon Dec 9 14:09:20 CET 2013


On 13-12-08 10:57 PM, Reuben wrote:
> 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
>>
> 
I get a similar error.

ImportError: No module named '_tkinter'
>>> import _tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named '_tkinter'
>>>


More information about the Tutor mailing list