Building Panda3D on Mac: No module named direct.ffi

This means that the Python interfaces weren’t compiled into Panda when it was built. Most likely ppremake didn’t detect Python properly, either because you don’t have the Python sources installed, or because you have the wrong path to Python configured in your Config.pp file.

When you run ppremake in dtool, make sure it says:

Compilation will generate Python interfaces.

David