Closed JakubKoralewski closed 10 months ago
@JakubKoralewski I'm quite sure it's not possible to produce wheels for armv6 architecture.
The only suggestion I can make is to get the source code and Rust and try to compile it directly on the target architecture, even if I have no idea if it works. You might try with pip
directly or with maturin
.
I'm quite sure it's not possible to produce wheels for armv6 architecture.
What about piwheels.org?
Tensorflow has armv6 wheels on piwheels.org: https://www.piwheels.org/simple/tensorflow/tensorflow-1.14.0-cp37-none-linux_armv6l.whl
@JakubKoralewski it looks like they build also granian: https://piwheels.org/project/granian/
Unfortunately it seems that recent maturin versions won't play well (this is deducted by the fact similar packages seem to suffer the same issue, like https://piwheels.org/project/pydantic-core/).
I still think this is quite hard to fix in granian
itself, maybe you can open up an issue in the maturin project for this.
Looks like no Cargo on the Pis used by Piwheels
2023-05-28T14:10:33,286 Cargo, the Rust package manager, is not installed or is not on PATH. 2023-05-28T14:10:33,286 This package requires Rust and Cargo to compile extensions. Install it through 2023-05-28T14:10:33,287 the system's package manager or via https://rustup.rs/ 2023-05-28T14:10:33,287 Checking for Rust toolchain.... 2023-05-28T14:10:33,305 ERROR: [present-rich] Preparing metadata (pyproject.toml) exited with 1
I'm closing this due to inactivity, it also seems some versions are available on piwheels
@gi0baro I have the same on a mac mini m1
root@4321ef340a67:/usr/src/app# granian
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 8 bytes failed
Aborted (core dumped)
root@4321ef340a67:/usr/src/app#
https://raspberrypi.stackexchange.com/questions/87392/pi1-armv6-how-to-disable-armhf-packages/87403#87403: