[Tkinter-discuss] Error in import of Tkinter in python 2.7

Lion Kimbro lionkimbro at gmail.com
Tue Oct 9 20:59:43 CEST 2012


  python -c "import sys; print sys.path"

  What do you get?


On Tue, Oct 9, 2012 at 11:50 AM, Pedro Marcal <pedrovmarcal at gmail.com>wrote:

> I do have the file _tkinter.lib.
> In fact when I compare my Lib files, I have all the tkinter related files
> in 2.7 that I have in 2.6.
> Thanks, Pedro
>
>
> On Tue, Oct 9, 2012 at 11:01 AM, Lion Kimbro <lionkimbro at gmail.com> wrote:
>
>>
>>   I'm curious -- do you have a file Python27/libs/_tkinter.lib ..?
>>
>>   ( Maybe you have a Python build that excluded tk? )
>>
>>
>> On Tue, Oct 9, 2012 at 2:32 AM, Pedro Marcal <pedrovmarcal at gmail.com>wrote:
>>
>>> I have python 2.6 and 2.7 installed on my Windows 7-prof.
>>> my IDLE runs OK with Tkinter.
>>> When I tried to use IDLE in 2.7 I got the above error. I suspect I need
>>> to set an environmental Variable.
>>> Thanks for any suggestions.
>>> Pedro
>>>
>>> _______________________________________________
>>> Tkinter-discuss mailing list
>>> Tkinter-discuss at python.org
>>> http://mail.python.org/mailman/listinfo/tkinter-discuss
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20121009/47012da5/attachment.html>


More information about the Tkinter-discuss mailing list