I\'ve a question regarding embedding python into a C++ application. The setup is as follows: I have a large C++ application which generates some data (renders images in real
I've resolved the issue. I needed to set argc and argv with PySys_SetArgv. I've uncovered this using PyErr_Occurred() and PyErr_Print() right after the failed import to see the problem.