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

Pedro Marcal pedrovmarcal at gmail.com
Tue Oct 9 21:41:25 CEST 2012


the attached output.

On Tue, Oct 9, 2012 at 11:59 AM, Lion Kimbro <lionkimbro at gmail.com> wrote:

>
>   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/0834238b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: importer_2.jpg
Type: image/jpeg
Size: 100662 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20121009/0834238b/attachment-0001.jpg>


More information about the Tkinter-discuss mailing list