Is tkinter renamed in Python 3.9.0b3?
Okay , Got it what was wrong (Thanks to @acw1668 ). I installed python 3.9 from the source without having dependencies (tk-dev
and tcl-dev
)
- So the first thing I did was uninstalling Python3.9
- Then reinstalled it using this method (From deadsnakes ppa)
- Then in terminal , run
sudo apt install python3.9-tk
- Now everything works fine.
Thanks to @Noah-J-Standerson for suggesting this method