From the latest docker version the RG.PYEXECUTE command is no longer known whilst other commands are working, has this been changed or removed in the latest updates (4 months ago)
127.0.0.1:6379> RG.PYEXECUTE
(error) ERR unknown command `RG.PYEXECUTE`, with args beginning with:
127.0.0.1:6379>
For reference the RG.DUMPEXECUTIONS works so its assumed the instance is running correctly
127.0.0.1:6379> RG.DUMPEXECUTIONS
(empty array)