thesisandcode logo

Thesis Coding Experts

Instant answers to all your coding queries by thesis coding experts
Home Question And Answer

Question Answer

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);
Was this answer helpful?
Share icon 0 icon 0