The pcpp package introduced breaking changes in update to version 1.21. And transpyle is currently compatible with pcpp 1.20, but not 1.21.