> Py_Finalize(); Boost.Python doesn't support Py_Finalize(). Could you try again without? It is a long-standing known issue, e.g. http://mail.python.org/pipermail/cplusplus-sig/2005-November/009543.html