Skip to content

Build error on postbash script #2

@tranzmatt

Description

@tranzmatt

I'm trying to build this example, both with the AI Workbench GUI and the nvwb cli binary and am getting the following error:

#20 311.6    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.6/85.6 kB 3.2 MB/s eta 0:00:00
#20 311.6 Downloading pymilvus-2.3.1-py3-none-any.whl (168 kB)
#20 311.6    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.9/168.9 kB 8.5 MB/s eta 0:00:00
#20 311.7 Downloading grpcio-1.58.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB)
#20 311.8    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 37.2 MB/s eta 0:00:00
#20 313.9 Installing collected packages: grpcio, anyio, pymilvus
#20 313.9   Attempting uninstall: grpcio
#20 313.9     Found existing installation: grpcio 1.62.1
#20 313.9     Uninstalling grpcio-1.62.1:
#20 313.9       Successfully uninstalled grpcio-1.62.1
#20 314.3 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
#20 314.3 chromadb 0.4.22 requires fastapi>=0.95.2, which is not installed.
#20 314.3 chromadb 0.4.22 requires onnxruntime>=1.14.1, which is not installed.
#20 314.3 chromadb 0.4.22 requires uvicorn[standard]>=0.18.3, which is not installed.
#20 314.3 grpcio-reflection 1.62.1 requires grpcio>=1.62.1, but you have grpcio 1.58.0 which is incompatible.
#20 314.3 grpcio-status 1.62.1 requires grpcio>=1.62.1, but you have grpcio 1.58.0 which is incompatible.
#20 314.3 text-generation-server 1.4.5 requires typer<0.7.0,>=0.6.1, but you have typer 0.12.0 which is incompatible.
#20 314.3 Successfully installed anyio-4.3.0 grpcio-1.58.0 pymilvus-2.3.1
#20 314.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#20 314.6 groupadd: GID '1001' already exists
#20 ERROR: process "/bin/bash /opt/project/build/postBuild.bash" did not complete successfully: exit code: 4
------
 > [16/17] RUN ["/bin/bash", "/opt/project/build/postBuild.bash"]:
314.3 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
314.3 chromadb 0.4.22 requires fastapi>=0.95.2, which is not installed.
314.3 chromadb 0.4.22 requires onnxruntime>=1.14.1, which is not installed.
314.3 chromadb 0.4.22 requires uvicorn[standard]>=0.18.3, which is not installed.
314.3 grpcio-reflection 1.62.1 requires grpcio>=1.62.1, but you have grpcio 1.58.0 which is incompatible.
314.3 grpcio-status 1.62.1 requires grpcio>=1.62.1, but you have grpcio 1.58.0 which is incompatible.
314.3 text-generation-server 1.4.5 requires typer<0.7.0,>=0.6.1, but you have typer 0.12.0 which is incompatible.
314.3 Successfully installed anyio-4.3.0 grpcio-1.58.0 pymilvus-2.3.1
314.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
314.6 groupadd: GID '1001' already exists
------
Containerfile:60
--------------------
  58 |     COPY --chown=$NVWB_UID:$NVWB_GID  ["postBuild.bash", "/opt/project/build/"]
  59 |     
  60 | >>> RUN ["/bin/bash", "/opt/project/build/postBuild.bash"]
  61 |     
  62 |     USER $NVWB_USERNAME
--------------------
ERROR: failed to solve: process "/bin/bash /opt/project/build/postBuild.bash" did not complete successfully: exit code: 4

This is on an NVidia DGX box running the latest release.

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