'PyCObject_Import(“cairo”, “CAPI”)' C++ call yields segfault, 'import cairo' on python works-Collection of common programming errors
I am running OSX Lion and trying to import the python module for goocanvas, using python2.7.
I managed to successfully compile pygoocanvas-0.14.1, but when I try to import goocanvas
through the python2.7 console, I get a segfault. After some debugging, I’m led to this code:
DL_EXPORT (void)
initgoocanvas (void)
{
PyObject *m, *d;
fprintf(stderr,"init