[Pythonmac-SIG] dynamic module in Blender does not define init function

Ronald Oussoren ronaldoussoren at mac.com
Tue May 14 08:37:16 CEST 2013


On 13 May, 2013, at 19:53, Paul Coones <paulcoones at comcast.net> wrote:

> I am getting a message when I try to import a dynamic library included in a module into Blender Text window:
> 
> ImportError: dynamic module does not define init function (PyInit__LeapPython)
> 
> What does this message mean and what do I need to do to eliminate it?
> 
> The library is _LeapPython.so
> I believe it contains c++ methods (wrapped), that get called in python.

This likely means that _LeapPython.so was build for Python 2 while blender uses Python 3.

Ronald

> 
> 
> Paul Coones
> paulcoones at comcast.net
> 
> 
> 
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG



More information about the Pythonmac-SIG mailing list