Type Error: PyModule_AddObject() needs module as first arg

Hi all,

I am trying to get started with writing programs for the XBee Gateway, but my hello_world project won’t build and I get the error :

Type Error executing script: TypeError: PyModule_AddObject() needs module as first arg

I think this might be an Eclipse thing like a missing configuration file somewhere, but I’m not sure. Can anyone help me please?

UPDATE:
I should mention that this was all using the Digi ESP toolkit on MacOSX 10.10. I am still curious to know how to solve this problem, but for now, jumping over to Windows helped solve the problem.