I have a custom addon which uses paho-mqtt to connect to mqtt. I get reports from a user which cannot install the addon anymore with the following error:
The command ‘/bin/ash -o pipefail -c pip3 install paho-mqtt’ returned a non-zero code: 127
I tried building the addon on my devsystem and i also get this error. What is changed / going on?
EDIT: this is the beginning of my docker file:
ARG BUILD_FROM
FROM $BUILD_FROM
ENV LANG C.UTF-8
RUN apk add --no-cache python3
RUN pip3 install paho-mqtt
RUN pip3 install apscheduler
Value 127 is returned by your shell /bin/bash when any given command within your bash script or on bash command line is not found in any of the paths defined by PATH system environment variable.
I cannot forget; this command is executed during docker build… So if this is a problem it’s the docker build environment. But I don’t have enough knowlegde about this unfortunately…