This is an old copy of the Python FAQ. The information here may be outdated.

What does "SystemError: _PyImport_FixupExtension: module yourmodule not loaded" mean?

This means that you have created an extension module named “yourmodule”, but your module’s init function does not initialize with that name.

Every module init function will have a line similar to:

module = Py_InitModule("yourmodule", yourmodule_functions);

If the string passed to this function is not the same name as your extension module, a SystemError exception will be raised.

CATEGORY: extending


A Django site. rendered by a django application. hosted by webfaction.