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

Not found the seal lib file, check the SEAL/build/lib #108

Closed
Haonan009 opened this issue May 7, 2023 · 14 comments
Closed

Not found the seal lib file, check the SEAL/build/lib #108

Haonan009 opened this issue May 7, 2023 · 14 comments
Labels
question Further information is requested

Comments

@Haonan009
Copy link

Type
Problem when setup with python.

Descripe
I have built SEAL in my PC, problem occured when I try to run the second command on CMD, which is "python setup.py build_ext -i". It said "Not found the seal lib file, check the SEAL/build/lib", although two files of "lib" were contained in my folder. Anyone met the same problem?

@Haonan009 Haonan009 added the question Further information is requested label May 7, 2023
@Huelse
Copy link
Owner

Huelse commented May 8, 2023

Have you build the SEAL like this?

@Haonan009
Copy link
Author

Have you build the SEAL like this?

Yes, I built SEAL through "VS 17 2022" generator. Should I select the "build" folder under "SEAL", or the one under "SEAL-Python", problem might occur in the path selection.

@Huelse
Copy link
Owner

Huelse commented May 8, 2023

Checkout the SEAL/build/lib/*.lib.

@Haonan009
Copy link
Author

Checkout the SEAL/build/lib/*.lib.

It worked, seal was now in my site-packages. But it reported an error that "Cannot find reference 'scheme_type' in 'seal.py" when I ran "seal_helper.py". Please help me figure it.

@Huelse
Copy link
Owner

Huelse commented May 8, 2023

It haven't install yet, move the seal.*.pyd generated file to the examples folder.

@Haonan009
Copy link
Author

Didn't work, sorry but what do you mean "It haven't install yet".

It haven't install yet, move the seal.*.pyd generated file to the examples folder.

@Haonan009
Copy link
Author

It haven't install yet, move the seal.*.pyd generated file to the examples folder.

What should I do to install it?

@Huelse
Copy link
Owner

Huelse commented May 8, 2023

Can you show me your workspace? you don't need to install it as developing.

@Haonan009
Copy link
Author

Already emailed.

@Huelse
Copy link
Owner

Huelse commented May 8, 2023

Copy the seal.cp37...pyd to yout workdir like examples and run the python3.7(py37) in same workdir will be work.

@Huelse
Copy link
Owner

Huelse commented May 8, 2023

Because you build the lib by the Python3.7, not 3.9 or else.

@Huelse
Copy link
Owner

Huelse commented May 8, 2023

This kind of basic programing problem I can't help you.

@Haonan009 Haonan009 closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2023
@Haonan009
Copy link
Author

Sorry, I tried as you said, and it worked in the "examples" folder you've provided, but failed in my own folder whose .py file requied seal.

@Haonan009
Copy link
Author

#47 met the same question

@Haonan009 Haonan009 reopened this May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants