you are most likely using the 3.9ish version of mac's python. switch to a recent version like 3.12 that has proper support for tkinter.
if you are using PyCharm, you should find the python interpreter setting from Pycharm > Settings > Project > Python interpreter.
So basically, you need to change your project's python version to a recent version.
I had this issue and solved it by switching to the version of python I installed via Homebrew