a year ago
i have a problem to redeploy
Attachments
4 Replies
mateodemuynck
Hey, Can you share the full error please ?
a year ago
[stage-0 6/8] RUN --mount=type=cache,id=s/f24e7877-bcaf-4d25-84e0-a5a5b32f1cab-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt
"python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
attachment file error
Attachments
haikal
\[stage-0 6/8\] RUN --mount=type=cache,id=s/f24e7877-bcaf-4d25-84e0-a5a5b32f1cab-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt "python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1 attachment file error
a year ago
The likely issue here is that Pillow requires zlib as seen in logs
The headers or library files could not be found for zlib
If this is a Dockefile deployment then you need to install zlib1g-dev and libjpeg-dev before you run the pip install
if this is a nixpacks deployment, then you need to create a nixpacks.toml file at the root of your project and add these in it
[phases.setup]
nixPkgs = ["zlib", "libjpeg"]