Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error when installing Pyfhel according to your guidance #20

Open
lilvmy opened this issue Jul 10, 2024 · 2 comments
Open

An error when installing Pyfhel according to your guidance #20

lilvmy opened this issue Jul 10, 2024 · 2 comments

Comments

@lilvmy
Copy link

lilvmy commented Jul 10, 2024

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?

@AlexMV12
Copy link
Collaborator

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!

@lilvmy
Copy link
Author

lilvmy commented Jul 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants