Similar error. Python 3.10 released recently. So that might be it.
And first of all, fully update your system.