c++调用python读表错误
Py_Initialize();
PyRun_SimpleString("import pandas as pd");
PyRun_SimpleString("print('hello world')");
PyObject* pModule = NULL;
PyObject* pFunc = NULL;
PyObject* pArg = NULL;
pModule = PyImport_ImportModule("testMultiprocessingDll");
pFunc = PyObject_GetAttrString(pModule, "Start1");
//int returnedString = 1;
PyObject* funcRes = PyObject_CallObject(pFunc, NULL);
PyObject* pResultStr = PyObject_Repr(funcRes);
def Start1():
stocks = pd.read_excel(r'../data/筛选模型点位统计(1).xlsx')#.reset_index(drop=True)