Aug-03-2023, 05:01 PM
(Jan-08-2022, 08:29 AM)buran Wrote: Don't name your filetkinter.py
It shadows thetkinter
module you want to use.
This helped me. Thanks! I didn't name my file tkinter.py but I had made one previously.
Then my other programs that used tkinter stopped working because of that tkinter.py that was located in the common python folder I was using.
duh!! I can't believe that I made such a dumb mistake. Here I was uninstalling and reinstalling tkinter over and over trying to fix the problem but the only problem was that I had made a local tkinter.py that was being imported instead of python importing the real tkinter.
aye aye aye!