Python errors after upgrade

After a server update, I was trying to re-pull my corteza docker images and the following errors occurred:

Has anyone encountered this, and is there a way to fix it?

I’m pretty sure it has something to do with the version of Python that got installed on the last update. Is there a correct version to install?

Which version are you talking about?
This is most likely due to your local environment and not related to Corteza.
I guess you updated your system recently, or Docker.
Not sure how you’re deploying Corteza.

I did update the system. It looks like the problem is the new version of Python that was installed. Is there a particular version of Python that we should be using for Corteza?

It looks like Python version 3.10 works (on a server that I haven’t upgraded), but Python version 3.12 results in the errors I’ve been getting.

Does anyone have a recommendation for fixing the problem?

UPDATE:

It looks like, for whatever reason, my Python3 installation got corrupted during the update process. Not sure why, and attempting to reinstall didn’t help the problem. I ended up having to rebuild the server.

Always backup your databases!

Interesting, so did that resolve the problem? Im guessing it was one of those 1 in 1000 scenarios.