-
Notifications
You must be signed in to change notification settings - Fork 250
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
Error when building from source #306
Comments
Thanks for reporting, I'll look at it over the weekend 👍 . |
I couldn't reproduce the issue. I fired up a clean 20.04 VM and the pip install went through fine: $ pip install .
Defaulting to user installation because normal site-packages is not writeable
Processing /home/ubuntu/workspace/src/manif
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: manifpy
Building wheel for manifpy (pyproject.toml) ... done
Created wheel for manifpy: filename=manifpy-0.1.dev787+dirty-cp38-cp38-linux_x86_64.whl size=795434 sha256=450d7867ea0458f9155f5fc57bd1542f5ae2415815bf0fb98ac6ee8ad7dca8eb
Stored in directory: /tmp/pip-ephem-wheel-cache-9c5z6d2y/wheels/e0/88/78/3317458a45a4af3d46b8c1cb22495a3ec206dd37be7fb2d71b
Successfully built manifpy
Installing collected packages: manifpy
Successfully installed manifpy-0.1.dev787+dirty Hi @diegoferigo, any idea if this issue could come from @jmehami1 The specific commit you linked shouldn't be an issue. This new addition doesn't have a python binding at the moment. It thus isn't even compiled. |
Hi @artivis, thanks for checking it out. I believe the issue was somewhere downstream with the latest Python version. In order to fix it for my project, I didn't upgrade Ubuntu. But I just tried building the docker image in the original issue (which does upgrade Ubuntu), and it's working now, so they must have fixed the bug with the wheel package. |
Hi @diegoferigo , all my Ubuntu devices were up-to-date packages at the time of the error. This included the docker image, which had the command "RUN apt-get update && apt-get upgrade -y && apt-get install -y \ ...". I spend the day trying to fix the issue. The only way to build it successfully was through a Ubuntu docker image which did NOT have any updated packages. My Ubuntu devices could not build it at the time. Almost a week later, one of the packages must have been fixed (I don't know which one), but its all working now even if after installing updated packages. |
Great, thanks for sharing details! Now it's more clear, glad it got fixed. |
I followed instructions to build from source as shown here but I'm getting an error when building the bindings using pip install. .
OS: Ubuntu 20.04
Error
Minimal working examples
These are the following instructions to replicate in a virtual environment:
A docker image definition which replicates the issue:
Save as file called "dockerfile". Build image using the following command:
Fixes I've tried
The text was updated successfully, but these errors were encountered: