Re: dynamic module in Blender does not define init function

Ronald Oussoren <[email protected]>
Newsgroups gmane.comp.python.apple
Message-ID <[email protected]>
On 13 May, 2013, at 19:53, Paul Coones <[email protected]> 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
> [email protected]
> 
> 
> 
> _______________________________________________
> Pythonmac-SIG maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.