[C++-sig] ImportError: dynamic module does not define init function
Stefan Seefeld
seefeld at sympatico.ca
Thu Aug 14 18:00:57 CEST 2008
Simon Pickles wrote:
> Hi,
>
> Sometimes I come across this error when I try to import a library:
>
> ImportError: dynamic module does not define init function
> (initHybridBulletObject)
>
> What exactly does it mean, and how can I fix this?
Python requires a module 'Foo' to provide an 'initFoo' function as entry
point.
This is generated by BOOST_PYTHON_MODULE, so make sure the name you pass
to that matches the name of your module.
HTH,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
More information about the Cplusplus-sig
mailing list