I use python 3.9, the "bad magic number" is an error that can only occur due the game being run on a later version. I'm assuming you downloaded the source? Since a magic number is a signature on a .pyc file and since my engine was converted to a .pyc file, it was sealed for only being able to run on 3.9...
To simplify it... The source won't work on 3.10, only 3.9... If it's not the source, I do not know what the problem is.
sorry