-
Notifications
You must be signed in to change notification settings - Fork 17
ERROR: Could not build wheels for ninja #226
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
Comments
I’m building ninja in a RISC-V By my testing the latest version on ninja that can be successfully built is By the way, |
I have the same issue on Raspberry Pi 4, with Python 3.10 in a pipenv. For me, 1.10.2.3 doesn't work either.
For version 1.10.2.3 this comes up:
|
Same issue appear when I try to install streamlit on RiscV |
Same issue when building for armhf arch and docker platform linux/arm32/v7 |
I don't know if building from sources got fixed on any of those platforms with 1.11.1.2 but binary armv7l wheels should now be retrieved instead of trying to build from sources (this of course does not apply to RiscV). |
1.11.1.2 is still broken on riscv on the NumPy CI with python3.10. |
@mattip, I have no trouble building in a riscv64 ghcr.io/mayeut/manylinux_2_35:2024.11.23-1 container.
The other error suggests something wrong with the cross-compilation environment:
That being said, for Numpy QEMU CI , you might want to filter out ninja from the build requirements as you're overriding it with the host ninja right after installation. EDIT: The first issue (which in fact is a runtime warning) should be fixed by EDIT2: the build from source on riscv failing in NumPy CI is related to the unusual cross-compilation setup: numpy/numpy#27827 (comment) |
Closing this issue as we could verify building from sources on armhf (where there's now binary wheels which should also reduce the number of users building from sources) & riscv (tested on ubuntu 22.04). |
The problem:
I'm trying to install ninja in a Docker container on an arm32v7/debian image which doesn't have a corresponding wheel on PyPi and I am getting an error during the build process.
Currently I'm using python 3.9 and pip 23.3.1
I tried different versions of either of them and got the same result
Dockerfile:
Console output:
The text was updated successfully, but these errors were encountered: