Spaces:
Build error
Build error
Build fail
#1
by
bbeeravelly
- opened
Hi there. If anyone is reading this, I would like to know why my build has been failing.
I have tried different changes to address the dependencies but nothing seems to work.
The gradio app worked fine for me on my local.
Please let me know if you are able to address the issue.
Thanks!
Build Log:
===== Build Queued at 2023-07-15 09:18:16 / Commit SHA: b2bd7dc =====
--> FROM docker.io/library/python:3.10@sha256:1b2e0805e24189fbba4e55b9bee89e3c25533cbe4fb71ae151f3e7ae0c9b86c5
DONE 0.0s
--> RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
CACHED
--> RUN pip install --no-cache-dir pip==22.3.1 && pip install --no-cache-dir datasets "huggingface-hub>=0.12.1" "protobuf<4" "click<8.1" "pydantic~=1.0"
CACHED
--> WORKDIR /home/user/app
CACHED
--> RUN --mount=target=/root/packages.txt,source=packages.txt apt-get update && xargs -r -a /root/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
CACHED
--> RUN useradd -m -u 1000 user
CACHED
--> RUN --mount=target=pre-requirements.txt,source=pre-requirements.txt pip install --no-cache-dir -r pre-requirements.txt
DONE 3.4s
DONE 6.2s
DONE 7.5s
DONE 8.7s
DONE 8.7s
--> RUN --mount=target=requirements.txt,source=requirements.txt pip install --no-cache-dir -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement torch==2.0.1+cu117 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1)
ERROR: No matching distribution found for torch==2.0.1+cu117
[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: python -m pip install --upgrade pip
--> ERROR: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1
requirements.txt
torch==2.0.1+cu117
torchvision==0.15.0
gradio==3.36.1