You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ docker build -t tensorboard .
[+] Building 62.7s (7/17) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.26kB 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:latest 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 103B 0.0s
=> [ 1/13] FROM docker.io/library/ubuntu:latest 0.0s
=> [internal] load build context 1.0s
=> => transferring context: 163.97MB 1.0s
=> [ 2/13] RUN apt update && apt install -y wget unzip python3 python3-pip python3-dev python-is-python3 default-jdk nod 62.3s
=> ERROR [ 3/13] RUN python3 -m pip install -U pip 0.4s
------
> [ 3/13] RUN python3 -m pip install -U pip:
0.357 error: externally-managed-environment
0.357
0.357 × This environment is externally managed
0.357 ╰─> To install Python packages system-wide, try apt install
0.357 python3-xyz, where xyz is the package you are trying to
0.357 install.
0.357
0.357 If you wish to install a non-Debian-packaged Python package,
0.357 create a virtual environment using python3 -m venv path/to/venv.
0.357 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
0.357 sure you have python3-full installed.
0.357
0.357 If you wish to install a non-Debian packaged Python application,
0.357 it may be easiest to use pipx install xyz, which will manage a
0.357 virtual environment for you. Make sure you have pipx installed.
0.357
0.357 See /usr/share/doc/python3.12/README.venv for more information.
0.357
0.357 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.357 hint: See PEP 668 for the detailed specification.
------
Dockerfile:5
--------------------
3 |# Install environment dependencies
4 | RUN apt update && apt install -y wget unzip python3 python3-pip python3-dev python-is-python3 default-jdk nodejs npm
5 | >>> RUN python3 -m pip install -U pip
6 |
7 |# Setup build environment
--------------------
ERROR: failed to solve: process "/bin/sh -c python3 -m pip install -U pip" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered:
CLI Output
The text was updated successfully, but these errors were encountered: