Huelse / SEAL-Python

Microsoft SEAL 4.X For Python
MIT License
319 stars 66 forks source link

can not find the seal lib #26

Closed minhyannv closed 4 years ago

minhyannv commented 4 years ago

hello, i open the .sln with vs2017, and generate the three solutions successufully ,but when i run the command ' python setup.py build_ext -i ' ,it says 'can not find the seal lib' ,how to solve it? thank you for you answer!

Huelse commented 4 years ago

Make sure you have built the seal.lib successfully Open the setup.py, change the relative path to an absolute path line 19.

minhyannv commented 4 years ago

oh it is x64,but the real path is Win32,i change it ,but the wrapper.cpp has got error ,it says ' Front end and back end are incompatible (must target the same processor).'

Huelse commented 4 years ago

Sorry, this warpper only support for x64 platform, build in Release x64 please.

minhyannv commented 4 years ago

i rebuid it successufully ,the examples can run in pycharm ,but when i run the examples in command ,it says ' no module named seal '

Huelse commented 4 years ago

Move the seal.<version>.pyd to the example folder or python setup.py install which will globally install in the pip

minhyannv commented 4 years ago

Wa,thank you for your all help,it is nice!!!

Lsw-98 commented 3 years ago

Hello, I encountered the following problem (unresolved reference 'encryption parameters') when compiling with pychar. Do you know how to solve it? 1609119737(1)