ihayhurst / TurgidLemonMeander

Docker with flask nginx and i2c logging containers for RPi monitoring station for temp, humidity and pressure
GNU General Public License v3.0
1 stars 0 forks source link

libopenblas-base is not available #8

Open Trotter73 opened 1 year ago

Trotter73 commented 1 year ago

Hi,

Installing on a Raspberry Pi ZeroW with a clean install of Bullseye.

Starting the docker with docker-compose up -d gives me the following error, any ideas on how to fix? The package name appears to be correct and it's available in the normal Raspberry repository ...


Edit:- Apparently on a Pi Zero docker detects armel and not armhf, libopenblas-base is not available on armel.

`WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists... Building dependency tree... Reading state information... Package libopenblas-base is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'libopenblas-base' has no installation candidate ERROR: Service 'flask' failed to build: The command '/bin/sh -c apt update && apt install --no-install-recommends -y build-essential python3-dev libopenblas-base liblapack3 libatlas-base-dev gfortran zlib1g-dev libjpeg-dev libpcre3 libpcre3-dev' returned a non-zero code: 100`

ihayhurst commented 1 year ago

Hi, for some reason I didn't see this at the time sorry. I guess found your own answer. openblas was only used in scipy to do the splines interpolation smoothing. Probably a little over the top