Open 1ofvc opened 3 months ago
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.
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)