PyCrCNN icon indicating copy to clipboard operation
PyCrCNN copied to clipboard

An error when installing Pyfhel according to your guidance

Open lilvmy opened this issue 1 year ago • 2 comments

Hello, I have a question about installing Pyfhel. I use git clone command to install Pyfhel into my python3.8/site-packages, modify the pyproject.toml file to set SEAL_THROW_ON_TRANSPARENT_CIPHERTEXT='OFF', and installed successfully. However, when run from Pyfhel import Pyfhel, leads an error that ModuleNotFoundError: No module named 'Pyfhel.Pyfhel.Pyfhel'. So please help me to address this issue, thank you very much. Furthermore, the environment is anaconda?

lilvmy avatar Jul 10 '24 08:07 lilvmy

Hello @lilvmy , Sorry for the delay in the answer.

I don't know exactly why it doesn't work in your case, it depends on your environment. However, I have just added a devcontainer file. If you use VSCode you can just use the extension to create an environment with all the correct dependencies installed. Otherwise, you can manually inspect both the Dockerfile and the after_creation.sh script to check the exact passages I do to install everything.

Let me know if it helps!

AlexMV12 avatar Jul 23 '24 09:07 AlexMV12

Hello, I have solved this issue. In my case, Hello, I have solved this issue. In my case, I have deleted the init.py in Pyfhel/Pyfhel due to conflicts with init.py in Pyfhel when building the Pyfhel. Thank you for your answer. Pyfhel-2.3.1 may not be useful as it cannot be installed successfully.

lilvmy avatar Jul 23 '24 09:07 lilvmy