Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bookworm image does not build anymore #2

@daamien

Description

@daamien
2025-08-29T12:55:57Z #8 [3/3] RUN set -ex;     pip3 --no-cache-dir install --upgrade         flake8         pep440deb         twine         "virtualenv<20"         virtualenv-tools     ;     rm -rf ~/.cache;     :
2025-08-29T12:55:58Z #8 0.565 + pip3 --no-cache-dir install --upgrade flake8 pep440deb twine virtualenv<20 virtualenv-tools
2025-08-29T12:55:58Z #8 1.078 error: externally-managed-environment
2025-08-29T12:55:58Z #8 1.078 
2025-08-29T12:55:58Z #8 1.078 × This environment is externally managed
2025-08-29T12:55:58Z #8 1.078 ╰─> To install Python packages system-wide, try apt install
2025-08-29T12:55:58Z #8 1.078     python3-xyz, where xyz is the package you are trying to
2025-08-29T12:55:58Z #8 1.078     install.
2025-08-29T12:55:58Z #8 1.078     
2025-08-29T12:55:58Z #8 1.078     If you wish to install a non-Debian-packaged Python package,
2025-08-29T12:55:58Z #8 1.078     create a virtual environment using python3 -m venv path/to/venv.
2025-08-29T12:55:58Z #8 1.078     Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
2025-08-29T12:55:58Z #8 1.078     sure you have python3-full installed.
2025-08-29T12:55:58Z #8 1.078     
2025-08-29T12:55:58Z #8 1.078     If you wish to install a non-Debian packaged Python application,
2025-08-29T12:55:58Z #8 1.078     it may be easiest to use pipx install xyz, which will manage a
2025-08-29T12:55:58Z #8 1.078     virtual environment for you. Make sure you have pipx installed.
2025-08-29T12:55:58Z #8 1.078     
2025-08-29T12:55:58Z #8 1.078     See /usr/share/doc/python3.11/README.venv for more information.
2025-08-29T12:55:58Z #8 1.078 
2025-08-29T12:55:58Z #8 1.078 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.
2025-08-29T12:55:58Z #8 1.078 hint: See PEP 668 for the detailed specification.
2025-08-29T12:55:58Z #8 ERROR: executor failed running [/bin/sh -c set -ex;     pip3 --no-cache-dir install --upgrade         flake8         pep440deb         twine         "virtualenv<20"         virtualenv-tools     ;     rm -rf ~/.cache;     :]: exit code: 1
2025-08-29T12:55:58Z ------

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