Questions
heshanheshanasked 4 months ago
I got this “ModuleNotFoundError” error,
ModuleNotFoundError: No module named 'Tkinter'
1

1 Answers

Accepted
codegenlabcodegenlabanswered 4 months ago
For windows install,
python -m pip install tk-tools
For mac os install,
brew install python-tk@3.9
For ubuntu install,
sudo apt install python2-tk     //python 2 
sudo apt install python3-tk     //python 3
For centos install,
yum install tkinter
For Fedora install,
sudo dnf install python3-tkinter
1