Closed tszolar closed 3 years ago
Can confirm this issue here as well
I've tested this many times and never managed to reproduce it.
However, looking at @flexik's Docker build output, I see:
Get:1 http://deb.debian.org/debian buster/main armel libgfortran5 armel 8.3.0-6 [216 kB]
Get:2 http://deb.debian.org/debian buster/main armel libatlas3-base armel 3.10.3-8 [3969 kB]
Get:3 http://deb.debian.org/debian buster/main armel libatlas-base-dev armel 3.10.3-8 [3918 kB]
This is targetting the armel
Debian repo, not the armhf
one. See https://www.debian.org/ports/arm/
The wheels are built against the armhf repos provided by Raspberry Pi. You need to install the apt packages from an armhf repo.
According to the Debian documentation the Pi Zero W uses armel
, not armhf
.
If you need a repro case, the radiosonde_auto_rx docker image exhibits the problem reliably when run on a Pi Zero W.
No, that's not true. It's possible to use either armhf or armel Debian on Pi 1/Zero but piwheels builds wheels on Raspberry Pi OS which is armhf, so you have to use armhf if you want the wheels to work.
Package name: numpy Link to PyPI page: https://pypi.org/project/numpy Link to piwheels page: https://www.piwheels.org/project/numpy Version: 1.20.2 Python version: 3.7.10 I am the maintainer: No More information:
When numpy is installed from piwheels on Raspberry Pi Zero W,
import numpy as np
fails with errorModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
. In the error message there is no mention of any missing so library, just the genericImporting the numpy C-extensions failed.
.Packages
libatlas-base-dev libatlas3-base libgfortran5
are installed. Correct wheel is installed (numpy-1.20.2-cp37-cp37m-linux_armv6l.whl
).I assume that is has to do something with the Pi Zero old CPU architecture (armv6l), because on RPi 3 (armv7l) the exact same setup works without problems.
Full error output - tested on buster with Python 3.7: