How to use panda3d in tkinter on Mac

I haven’t provided any configuration file, so I should be using the default for everything. I see the docs say to use an empty string for single-threaded, so as a test, I added this to your example right before app = AppTk():

ConfigVariableBool('want-tk').setValue(True)
ConfigVariableString('threading-model').setValue('')

(I found another thread saying that “want-tk true” is necessary on Mac, so I included that too). Unfortunately, the result is the same.