I was working on an app with Tkinter and everything was working fine, but after modifying a function (that has nothing to do with the Tkinter environment) all of a sudden I started getting the following error:
from tkinter import *
ImportError: No module named tkinter
I tried opening another Tkinter file to see if it had something to do with my app, but on the other file, I'm also seeing the same error. So I'm guessing it doesn't have to do with my app. Is there any way that Tkinter uninstalled itself if it was working before? I'm also getting the same error when importing Pandas. It's weird because it was all working before.
Has anyone encountered this problem before? What could be the problem?
No python module can uninstall itself. You can type pip install tkinter again in cmd.
Can Tkinter "uninstall" itself?