=> ERROR [ 3/15] RUN python3 -m pip install --upgrade pip setuptools whe 0.4s
------
> [ 3/15] RUN python3 -m pip install --upgrade pip setuptools wheel:
0.347 error: externally-managed-environment
0.347
0.347 × This environment is externally managed
0.347 ╰─> To install Python packages system-wide, try apt install
0.347 python3-xyz, where xyz is the package you are trying to
0.347 install.
0.347
0.347 If you wish to install a non-Debian-packaged Python package,
0.347 create a virtual environment using python3 -m venv path/to/venv.
0.347 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
0.347 sure you have python3-full installed.
0.347
0.347 If you wish to install a non-Debian packaged Python application,
0.347 it may be easiest to use pipx install xyz, which will manage a
0.347 virtual environment for you. Make sure you have pipx installed.
0.347
0.347 See /usr/share/doc/python3.12/README.venv for more information.
0.347
0.347 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.
0.347 hint: See PEP 668 for the detailed specification.
------
Dockerfile:17
--------------------
15 | && rm -rf /var/lib/apt/lists/*
16 |
17 | >>> RUN python3 -m pip install --upgrade pip setuptools wheel
18 |
19 | # --- Python deps: torch cu129 (aarch64) ---
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c python3 -m pip install --upgrade pip setuptools wheel" did not complete successfully: exit code: 1
bxxx@sparkxxxxx:~/trellis2-docker$