nucypher / nufhe

NuCypher fully homomorphic encryption (NuFHE) library implemented in Python
https://nufhe.readthedocs.io/en/latest/
GNU General Public License v3.0
441 stars 53 forks source link

How to install nuFHE #2

Closed Luidy closed 5 years ago

Luidy commented 5 years ago

Hello. I want to know how to install nuFHE. I would be grateful if you can give us details of what steps you should take to use your good project. Thanks.

fjarri commented 5 years ago

At the moment nufhe is not present on PyPi, so you need to install it manually in the standard way:

Note that:

Luidy commented 5 years ago

Thank you for your reply. I installed nuFHE and pycuda as your answer. And I typed the command "python3 ./gate_nand.py" in the "example" directory to run the "examples / gate_nand.py file" However, The problems such as "ModuleNotFoundError: No module named 'nufhe'" occured. I wanna solve this problem and run "gate_nand.py".

I'll wait for your reply. Thanks.

fjarri commented 5 years ago

Are you sure that you used the same Python version to install it as you do to run gate_nand.py? Is there nufhe in the output of python3 -m pip list?

Luidy commented 5 years ago

Thanks. I solved this problem. :)

fjarri commented 5 years ago

Glad to hear it! I'm going to leave the issue open to remind myself that I need to describe the installation process in the docs and publish nufhe on PyPi (will happen soon).