PyFHE icon indicating copy to clipboard operation
PyFHE copied to clipboard

How to successfully run Test_*.py ??

Open qxzhou1010 opened this issue 4 years ago • 3 comments

Hi, I am learning the BGV and find your code. I want to run this code in my PC. Howeve, I have encountered some mistakes.

FileNotFoundError: [Errno 2] No such file or directory: './profile/keygeneration.prof'

How can get these **.prof files ??

qxzhou1010 avatar Dec 01 '20 11:12 qxzhou1010

Hi, I encounter an issue in NNT.py: line 68, in mul assert type(other).name == 'NTT' or type(other).name == 'int', 'type error' AsserionError: type error

liangling76 avatar Feb 04 '21 09:02 liangling76

Hi, I am learning the BGV and find your code. I want to run this code in my PC. Howeve, I have encountered some mistakes.

FileNotFoundError: [Errno 2] No such file or directory: './profile/keygeneration.prof'

How can get these **.prof files ??

Maybe you can create a "profile" folder.

liangling76 avatar Feb 04 '21 09:02 liangling76

Hi, I am learning the BGV and find your code. I want to run this code in my PC. Howeve, I have encountered some mistakes.

FileNotFoundError: [Errno 2] No such file or directory: './profile/keygeneration.prof'

How can get these **.prof files ??

Run the following code in root path:

mkdir profile
cd profile
touch keygeneration.prof
touch encrytpion.prof
touch decryption.prof
touch l0_mul.prof
touch l1_mul.prof
touch add.prof

harper-yuan avatar May 10 '24 02:05 harper-yuan