mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-15 13:02:35 +08:00
fix(docker): override PEP 668 externally-managed-environment restriction
Add PIP_BREAK_SYSTEM_PACKAGES=1 environment variable to allow system-wide pip installations in Ubuntu 24.04 container environment. Ubuntu 24.04 includes Python 3.12 with PEP 668 enforcement which blocks pip installations outside virtual environments. Since this is a containerized environment where system package conflicts are not a concern, we safely override this restriction. Resolves error: "externally-managed-environment" preventing PyTorch and dependency installation during Docker build process.
This commit is contained in:
parent
cf52512e20
commit
bc2dffa0b0
@ -7,6 +7,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
||||
COMFY_AUTO_INSTALL=1 \
|
||||
PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
||||
PIP_NO_CACHE_DIR=1 \
|
||||
PIP_BREAK_SYSTEM_PACKAGES=1 \
|
||||
EXT_PARALLEL=4 \
|
||||
NVCC_APPEND_FLAGS="--threads 8" \
|
||||
MAX_JOBS=32 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user