here is my code
#include <Python/Python.h>
using namespace std;
int main(int argc, char *argv[])
{
Py_SetProgramName(argv[0]);
Py_Initialize();
PyRun_SimpleString("print 1\n");
Py_Finalize();
return 0;
}
But something went wrong:

And gcc my_python.c -o my_python -I/usr/include/python2.7/ -lpython2.7 is working well.Is it possible I try to call python in xcode?

