user interface - Why is my python installation not working properly? -


http://pastebin.com/bjixc022

at first python working fine tkinter. when change working directory, somehow stops working then. manages refer tkinter.py file in directory when never typed name of file there. wanted import tkinter. tkinter.py file not working though same first 10 lines. how fix problem? reinstalled os , python yesterday, running os x 10.10.3 , newest python 3.4.3. here's tkinter.py:

http://pastebin.com/vbhqfglz

you have file named tkinter.py in /users/nikolas/documents/python/tkinter.py. changing directory , importing tkinter import local file, not 1 python installation. see error because tkinter.py file not provide tk.

the solution rename file other tkinter.py.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -