you're probably right there's a problem with python. Can you list your installed plugins and run an $unbound-checkconf
My guess is due to some plugins not being updated yet to a newer version of python.You end up with a mix of python 3.9 and 3.11 and that confuses some application that relies on the system's default.python311-3.11.9 Interpreted object-oriented programming languagepython39-3.9.18_2 Interpreted object-oriented programming languageA fix is to tell each application which python version to use, that's what is done in a regular OS. For now I imagine your option is to keep to previous version until you either know which plugin is the one needs updating, or to hunt it down and set it for it but could be a case of doing it for multiple plugins.I'm guessing though.
The reason I don't know. I am simply having had to deal with the difficulties that python can have.