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

key genration error #30

Open bpradeep508 opened 2 years ago

bpradeep508 commented 2 years ago

TypeError Traceback (most recent call last)

in () 259 lines.append([int(v) for v in line.split()]) 260 ctx = nufhe.Context() --> 261 secret_key, cloud_key = ctx.make_key_pair() 262 vm = ctx.make_virtual_machine(cloud_key) 263 size=16 7 frames /usr/local/lib/python3.7/dist-packages/pyopencl/array.py in _new_with_changes(self, data, offset, shape, dtype, strides, queue, allocator) 641 strides=strides, data=data, offset=offset, 642 events=events, --> 643 _fast=fast, _context=self.context, _queue=queue, _size=size) 644 645 def with_queue(self, queue): TypeError: __init__() got an unexpected keyword argument 'data'
fjarri commented 2 years ago

There appears to be a change in the recent version of PyOpenCL that broke reikna, and, by extension, nufhe. Can you downgrade to pyopencl<=2021.2.6 and try again?