Closed Luidy closed 5 years ago
At the moment nufhe
is not present on PyPi, so you need to install it manually in the standard way:
nufhe
);cd nufhe
pip install .
(or pip3
, if that's what it's linked to in your environment)Note that:
pycuda
or pyopencl
, depending on which videocard and GPGPU platform you have available (pycuda
is for nVidia cards, pyopencl
works for any card). They are present on PyPi and in many Linux repos, but may require you to install CUDA or OpenCL drivers — refer to their respective documentations for details. nufhe
does not install them automatically, because different systems may have only CUDA or only OpenCL available.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.
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
?
Thanks. I solved this problem. :)
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).
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.