Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Holoscan docker failure on monai-deploy #519

Open
Devinwhite opened this issue Jan 22, 2025 · 0 comments
Open

Holoscan docker failure on monai-deploy #519

Devinwhite opened this issue Jan 22, 2025 · 0 comments

Comments

@Devinwhite
Copy link

Devinwhite commented Jan 22, 2025

When following this tutorial https://docs.monai.io/projects/monai-deploy-app-sdk/en/latest/getting_started/tutorials/monai_bundle_app.html

I cannot progress past the app build phase because of the Docker build failure.

I'm using Holoscan 2.6.0 and see that the requirements also reference this version.

The error I received is as follows. It is unclear what modifications are needed to build the docker correctly.

#10 4.082 E: Version '22.0.2+dfsg-1ubuntu0.4' for 'python3-pip' was not found
#10 ERROR: process "/bin/sh -c apt update     && apt-get install -y --no-install-recommends --no-install-suggests         python3-minimal=${PYTHON_VERSION}         libpython3-stdlib=${PYTHON_VERSION}         python3=${PYTHON_VERSION}         python3-venv=${PYTHON_VERSION}         python3-pip=${PYTHON_PIP_VERSION}     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
------
 > [release  2/18] RUN apt update     && apt-get install -y --no-install-recommends --no-install-suggests         python3-minimal=3.10.6-1~22.04         libpython3-stdlib=3.10.6-1~22.04         python3=3.10.6-1~22.04         python3-venv=3.10.6-1~22.04         python3-pip=22.0.2+dfsg-1ubuntu0.4     && rm -rf /var/lib/apt/lists/*:
3.375 Building dependency tree...
3.478 Reading state information...

3.977 Building dependency tree...
4.074 Reading state information...
4.081 Package python3-pip is not available, but is referred to by another package.
4.081 This may mean that the package is missing, has been obsoleted, or
4.081 is only available from another source
4.081 
4.082 E: Version '22.0.2+dfsg-1ubuntu0.4' for 'python3-pip' was not found
------
WARNING: local cache import at /home/dwhite/.holoscan_build_cache not found due to err: could not read /home/dwhite/.holoscan_build_cache/index.json: open /home/dwhite/.holoscan_build_cache/index.json: no such file or directory

 �[33m1 warning found (use docker --debug to expand):
�[0m - UndefinedVar: Usage of undefined variable '$PYTHONPATH' (line 128)
Dockerfile:93
--------------------
  92 |     
  93 | >>> RUN apt update \
  94 | >>>     && apt-get install -y --no-install-recommends --no-install-suggests \
  95 | >>>         python3-minimal=${PYTHON_VERSION} \
  96 | >>>         libpython3-stdlib=${PYTHON_VERSION} \
  97 | >>>         python3=${PYTHON_VERSION} \
  98 | >>>         python3-venv=${PYTHON_VERSION} \
  99 | >>>         python3-pip=${PYTHON_PIP_VERSION} \
 100 | >>>     && rm -rf /var/lib/apt/lists/*
 101 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apt update     && apt-get install -y --no-install-recommends --no-install-suggests         python3-minimal=${PYTHON_VERSION}         libpython3-stdlib=${PYTHON_VERSION}         python3=${PYTHON_VERSION}         python3-venv=${PYTHON_VERSION}         python3-pip=${PYTHON_PIP_VERSION}     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
[2025-01-22 11:58:27,314] [INFO] (packager) - Build Summary:

Platform: x64-workstation/dgpu
    Status: Failure
    Error:  Error building image: see Docker output for additional details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant