I have a set of plugins that I am loading from shared libraries on Linux. I
thought I would want to call the initModule function when loading the
library, but I am getting the following error when I do so:

Fatal Python error: PyThreadState_Get: no current thread
Aborted (core dumped)

Can anyone point me to an example of something like this? I am using
BOOST_PYTHON_MODULE in my shared libraries and then loading them at
runtime. I would like to import that module into my main namespace where
most of my code is being run.

Thanks!

slide
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to