Recent versions of Python (>3.13) require setuptools for packages installation and have removed distutils.
However, PyRat depends on pygame, which is not currently updated to take that change into account.
If you encounter the following message, you are facing this problem:
ModuleNotFoundError: No module named 'distutils.msvccompiler
In that case, until pygame is corrected, please use a previous version of Python (<=3.13) and it should work.