You are most probably experimenting this crash https://github.com/panda3d/panda3d/issues/795 Until the fix is merged and included in a new release, the workaround is to manually grant the “Input Monitoring” permission for your application (Usually it means Terminal.app or Python.app)
I’m a little unclear on how to grant this permission. I see no option in the attached screenshot. If you let me know, I’m happy to make the screenshots/guide that @rdb mentions in the issue you linked.
I was using iTerm2, and for some reason, it was not requesting input monitoring. When I tried running with the usual Terminal app, it requested input monitoring, and now it’s working.
I guess I’ll use Terminal for my work with Panda3D for now.
Thanks for your feedback, I tried with iTerm2 but I also got the popup when I started a panda app. But I believe that sometimes the app crashes before the popup is generated, maybe you should try a few time.