Posted Time & Date | 01:04 PM - 18 March 2016
Ques :
I am compiling a Python code but I am repeatedly getting this error: “SystemError:_PyImport_FixupExtension: module yourmodule not loaded” . What does this mean?
Answer :
This means that you have created an extension module named “yourmodule”, but your module init function does not initialize with that name. Your function should look like this:
module = Py_InitModule("yourmodule", yourmodule_functions);