Spaces:
Build error
Build error
build error
build failed with exit code: 1, message: None
Build logs:
--> FROM docker.io/library/python:3.8.9@sha256:49d05fff9cb3b185b15ffd92d8e6bd61c20aa916133dca2e3dbe0215270faf53
DONE 0.0s
--> COPY packages.txt /root/packages.txt
CACHED
--> WORKDIR /home/user
CACHED
--> RUN apt-get update && apt-get install -y git-lfs
CACHED
--> RUN mkdir app
CACHED
--> RUN git lfs install
CACHED
--> RUN useradd -m -u 1000 user
CACHED
--> RUN apt-get update && xargs -r -a /root/packages.txt apt-get install -y
CACHED
--> WORKDIR /home/user/app
CACHED
--> RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx
CACHED
--> RUN pip install pip==22.0.2
CACHED
--> RUN pip install datasets huggingface-hub
CACHED
--> COPY requirements.txt /home/user/app/requirements.txt
DONE 0.1s
--> RUN pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting git+git://github.com/huggingface/transformers (from -r requirements.txt (line 5))
Cloning git://github.com/huggingface/transformers to /tmp/pip-req-build-497n5lfz
Running command git clone --filter=blob:none --quiet git://github.com/huggingface/transformers /tmp/pip-req-build-497n5lfz
fatal: unable to connect to github.com:
github.com[0: 140.82.114.4]: errno=Connection timed out
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet git://github.com/huggingface/transformers /tmp/pip-req-build-497n5lfz did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet git://github.com/huggingface/transformers /tmp/pip-req-build-497n5lfz did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: You are using pip version 22.0.2; however, version 22.3 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
--> ERROR: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1