You probably need to use the python that is bundled within KiCad to run this. You don’t mention the platform but this is a recognised problem on macOS and I think Windows too. If you use the complete path to the binary instead of just ‘python’, this should go away.
EDIT i see you are using Windows but think the same applies.
BTW, are you running a 32 bit version on a 64 bit processor? I know there were some issues about MINGW but have not followed this. Someone else might chip in here but it might be helpful to post the FULL version info ( copy from the about KiCad dialogue).
The XYRS support is available only for the git code, no stable release, so pip isn’t available.
Also: for Windows you need to install a lot of support stuff.
If you want to try it I’ll suggest using GitHub Actions (see the README about the v1_k6 tag).
Additionally, some details of MacroFab dialect aren’t yet implemented, like footprint size, they will be available soon.