Huelse / SEAL-Python

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

ModuleNotFoundError: No module named 'seal' #4

Closed Zeng1998 closed 4 years ago

Zeng1998 commented 4 years ago

ModuleNotFoundError: No module named 'seal'

Huelse commented 4 years ago

Can you describe your problem in detail?

Zeng1998 commented 4 years ago

I followed the README step by step without errors, but I got this error when I run python

davidwagnerkc commented 4 years ago

If you used python setup.py build_ext -i the i stands for in place and builds the shared object file (.so file) in the current directory. You should be able to run python to open up a REPL and import seal should work. Outside of this directory will not working. If you want it to work outside of the directory it needs to be installed into your site-packages of a Python environment with python setup.py install or manually moving the .so file to the site-packages.

That may or may not help 😁 Good luck.

On Sun, Dec 8, 2019 at 8:59 PM Zeng1998 notifications@github.com wrote:

I followed the README step by step without errors, but I got this error when I run python

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Huelse/SEAL-Python/issues/4?email_source=notifications&email_token=AE4RVZ2TS2LLOM74OIAOVZ3QXWYBPA5CNFSM4JXY25U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGHVNZY#issuecomment-563042023, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4RVZ4NGYILWPQ3GLKBGELQXWYBPANCNFSM4JXY25UQ .

Zeng1998 commented 4 years ago

If you used python setup.py build_ext -i the i stands for in place and builds the shared object file (.so file) in the current directory. You should be able to run python to open up a REPL and import seal should work. Outside of this directory will not working. If you want it to work outside of the directory it needs to be installed into your site-packages of a Python environment with python setup.py install or manually moving the .so file to the site-packages. That may or may not help Good luck. On Sun, Dec 8, 2019 at 8:59 PM Zeng1998 @.***> wrote: I followed the README step by step without errors, but I got this error when I run python — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#4?email_source=notifications&email_token=AE4RVZ2TS2LLOM74OIAOVZ3QXWYBPA5CNFSM4JXY25U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGHVNZY#issuecomment-563042023>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4RVZ4NGYILWPQ3GLKBGELQXWYBPANCNFSM4JXY25UQ .

Oh yes thank you very much

kaybest commented 1 year ago

I can't successfully install Microsoft SEAL on my python 3.9 to perform homophobic encryption

ukantjadia commented 6 months ago

I can't successfully install Microsoft SEAL on my python 3.9 to perform homophobic encryption

did you get any encryption solution?