Guides
Fixing Python wheels on arm64
pip install compiles packages from source on arm64.
5 min read
pip install compiles packages from source on arm64.
Why it happens
No manylinux_aarch64 wheel exists for that version, so pip falls back to a source build.
How to fix it
- Pin to versions that publish aarch64 wheels
- Cache the built wheels so the compile is paid once
- Use uv, which resolves and caches wheels considerably faster
Your next build could be twice as fast, at half the price
Start free. Migrating away is the same one line, and we publish that diff too.
Related
How to move CI to arm64 runnersYou deploy to Graviton or Ampere but build on x64.arm64 migration checklistYou want to move to arm64 without breaking the pipeline.Cross-compiling versus native arm64You need arm64 binaries and are unsure whether to cross-compile or build natively.Why QEMU arm64 builds are so slowAdding linux/arm64 to a Docker build makes it twenty times slower.