There was a similar problem in How to run kicad-action-plugins on KiCad 5.99? but I don’t find an answer.