Skip to content

Addon could not be installed #4

Description

@ChristophCaina

Hi, while trying to install the Addon, I am getting the following error message:

The command '/bin/ash -o pipefail -c pip3 install .' returned a non-zero code: 1

Any information about this?

Here's what the Supervisor Log shows:

---> 168c790bd2e9
Step 5/15 : WORKDIR /code
---> Using cache
---> 0de9de494b52
Step 6/15 : RUN git clone https://github.com/PetHubLocal/pethublocal
---> Using cache
---> f02c7d5a5b9a
Step 7/15 : WORKDIR /code/pethublocal
---> Using cache
---> a2192a05fd40
Step 8/15 : RUN pip3 install .
---> Running in 3153768228fb
error: externally-managed-environment
× This environment is externally managed
╰─> The system-wide python installation should be maintained using the system
package manager (apk) only.
If the package in question is not packaged already (and hence installable via
"apk add py3-somepackage"), please consider installing it inside a virtual
environment, e.g.:
python3 -m venv /path/to/venv
. /path/to/venv/bin/activate
pip install mypackage
To exit the virtual environment, run:
deactivate
The virtual environment is not deleted, and can be re-entered by re-sourcing
the activate file.
To automatically manage virtual environments, consider using pipx (from the
pipx package).
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Removing intermediate container 3153768228fb

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions