liberate-fhe icon indicating copy to clipboard operation
liberate-fhe copied to clipboard

something error

Open 1ofvc opened this issue 11 months ago • 1 comments

Traceback (most recent call last): File "D:\work\capride-learning\liberate\test.py", line 1, in from src.liberate import fhe File "D:\work\capride-learning\liberate\src\liberate_init_.py", line 1, in from . import csprng, fhe, utils File "D:\work\capride-learning\liberate\src\liberate\csprng_init_.py", line 1, in from .csprng import Csprng File "D:\work\capride-learning\liberate\src\liberate\csprng\csprng.py", line 7, in from . import ( ImportError: cannot import name 'chacha20_cuda' from partially initialized module 'src.liberate.csprng' (most likely due to a circular import) (D:\work\capride-learning\liberate\src\liberate\csprng_init_.py)

1ofvc avatar Mar 21 '24 09:03 1ofvc

sorry for late reply.

First of all, your symptom is generally a problem that occurs when the cuda file is not built properly.

I might be able to help you a little more if you tell me what version of python you are using and what version of cuda you have installed.

And I hope this documentation helps you.

hanyul-ryu avatar Apr 01 '24 12:04 hanyul-ryu