Huelse / SEAL-Python

Microsoft SEAL 4.X For Python
MIT License
319 stars 66 forks source link

Tried to run "python3 setup.py build_ext -i" on fresh Ubuntu 20.04.3 server, it failed to go through. #75

Closed NBsyxx closed 2 years ago

NBsyxx commented 2 years ago

[//]: # Before submitting this issue, make sure you have already searched and still have problems. Describe the bug When I was following the Build-Linux instructions in README.md

# Run the setup.py python3 setup.py build_ext -i

this step runs forever, the screenshot is attached. Should I try an earlier version of Ubuntu instead of 20?

Device\Environment System: Ubuntu 20.04.3

Screenshots

1636673544(1)

Huelse commented 2 years ago

What's the error?

Arman001 commented 2 years ago

It seems like it is building perfectly what is really the error, is it not finding the library or what ?

NBsyxx commented 2 years ago

It seems like it is building perfectly what is really the error, is it not finding the library or what ?

image

after an hour it gives error:

command 'x86_64-linux-gnu-gcc' failed with exit status 1

Huelse commented 2 years ago

This is a common error on vps, you can refer to stackoverflow.

kumarm17 commented 1 year ago

Hi @Huelse, Got the error as in attached file when I run "python3 setup.py build_ext -i"

Screenshot 2022-10-28 at 10 15 11 AM Screenshot 2022-10-28 at 10 15 43 AM
Huelse commented 1 year ago

@Mishra1992 We haven't support arm arch like M1 now, cause I don't have that device.

kumarm17 commented 1 year ago

Hi @Huelse, I am not running on M1

Screenshot 2022-10-28 at 11 04 57 AM
Huelse commented 1 year ago

@Mishra1992 I just tried in macos 12.6 with python 3.10 and cmake 3.24.2 and it does have some warnings but not like yours, I will try to figure it out later.