无法在cpp python绑定中调用import_Array()方法
我试图通过包含无法在cpp python绑定中调用import_Array()方法,python,c++,numpy,Python,C++,Numpy,我试图通过包含\include来调用import\u Array() 下面给出了编译错误 error: 'PyCObject_Check' was not declared in this scope error: 'PyCObject_AsVoidPtr' was not declared in this scope
\include
来调用import\u Array()
下面给出了编译错误
error: 'PyCObject_Check' was not declared in this scope
error: 'PyCObject_AsVoidPtr' was not declared in this scope