hwang-ua / inac_pytorch

18 stars 3 forks source link

为什么会报错”Error compiling Cython file: cymj.pyx:127:21:Cannot assign type 'void (const char *) except * nogil' to 'void (*)(const char *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of 'c_error_callback'.“ #3

Open Lllllivia opened 4 months ago

Lllllivia commented 4 months ago

为什么会报错”Error compiling Cython file: cymj.pyx:127:21:Cannot assign type 'void (const char ) except nogil' to 'void ()(const char ) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of 'c_error_callback'.“ 问题

hwang-ua commented 4 months ago

可能是版本问题, 试一下这里的方法? https://blog.csdn.net/dream6985/article/details/132535834