[SOLVED] I cannot run Tkinter in Atom


I want to make Basic GUI in Atom Python with tkinter, but its not working.
Can you guys tell me why? Thank you.

My Packages is:

autocomplete-python by autocomplete-python
emmet by emmetio
Pigments by abe33
file-icons by file-icons
minimap by atom-minimap
script by rgbkrk


Yes, it’s because your code file is called tkinter.py, so when Python goes looking for modules named tkinter to import, the first one it finds is your file, which has no function called Tk().


Thank you, it is SOLVED :slight_smile: