> if (!VBALLOW_PYTHON) > printf("autoexec didn't execute!\n"); Why don't you try: if (!VBALLOW_PYTHON) PyErr_Print(); It might at least give you a diagnostic, but you need to run it from a shell in order to see the output since PyErr_Print() is using sys.stderr, which at initialization time is set up to use stderr. Alex.