microsoft / EVA

Compiler for the SEAL homomorphic encryption library
MIT License
223 stars 58 forks source link

Error: member access into incomplete type 'PyFrameObject' #38

Open DongjieHe opened 11 months ago

DongjieHe commented 11 months ago

Hi, I am trying to compile the EVA on different machines. On Ubuntu 22.04 with Python 3.8.10, I could compile EVA without errors. However, on MacOS with Python 3.11.6, I encounter the following error :

"EVA/third_party/pybind11/include/pybind11/pybind11.h:2220:14: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
        frame->f_code->co_argcount > 0) {". 

I have searched this issue online and got this link: https://github.com/cython/cython/issues/4681. It seems that the errors are caused due to different versions of Python used.

Any idea on how to fix this issue?

Thanks.