在配finder环境时,想要把PrepareBatchGraph.pyx转为PrepareBatchGraph.pyd文件时,遇到以下报错,有没有大佬帮帮看看
Error compiling Cython file:
cdef class py_sparseMatrix:
cdef shared_ptr[sparseMatrix] inner_sparseMatrix
def cinit(self):
self.inner_sparseMatrix =shared_ptr[sparseMatrix](new sparseMatrix())
^
PrepareBatchGraph.pyx:16:62: Operation only allowed in c++