ArmSoM
← All stories

Can a Raspberry Pi Python Wheel Run on ArmSoM Linux?

A Python package that installs on Raspberry Pi OS may lack a usable wheel for your ArmSoM image. Wheel selection depends on the Python implementation, ABI and platform. Two machines described as Arm can also run different userspace architectures. Save the original package version and the exact wheel filename before choosing a replacement image.

ArmSoM Sige5 single-board computer product photo

ArmSoM Sige5 single-board computer · ArmSoM

Read the tags before changing Python versions

On each board, inspect the supported tags reported by python -m pip debug --verbose inside the intended environment. A filename ending in py3-none-any generally indicates portable Python packaging. A compiled extension carries narrower tags and may load additional native libraries. Try the actual import and one representative calculation in a fresh environment. Installing an archive alone proves little about runtime dependencies.

For example, cp311 in a wheel filename refers to CPython 3.11. The rest of the tags still matter. A matching interpreter cannot compensate for a compiled extension built for another CPU architecture.

For a package available only as source, build a wheel against the target environment and retain the build notes. If a proprietary library has no compatible build, move that dependency up the hardware decision list before committing to the migration.

Reference material

ArmSoM Sige5 hardware documentation

Python Packaging Authority platform compatibility tags

Related ArmSoM guide

Arm64 or arm32 check your application before replacing a Raspberry Pi

Explore ArmSoM Sige5