Hello yes the problem solved.
First you have to transfer the Firmware_for_MegaPi.ino to the MegaPi.
Then make the settings as described above on the Raspberry pi.
The next Python command should drive the robot
bot.encoderMotorRun (1.255)
bot.encoderMotorRun (2.255)