Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build has fail #14

Open
tuha1994 opened this issue Nov 4, 2024 · 0 comments
Open

docker build has fail #14

tuha1994 opened this issue Nov 4, 2024 · 0 comments

Comments

@tuha1994
Copy link

tuha1994 commented Nov 4, 2024

help me!
root@GPU:/dev/tuha/translation_layoutrecovery# docker compose up --build
[+] Building 20.0s (10/11) docker:default
=> [backend internal] load build definition from Dockerfile.backend 0.0s
=> => transferring dockerfile: 482B 0.0s
=> [backend internal] load metadata for docker.io/nvidia/cuda:11.1.1-cudnn8-devel-ubuntu20.04 1.3s
=> [backend internal] load .dockerignore 0.0s
=> => transferring context: 60B 0.0s
=> [backend 1/7] FROM docker.io/nvidia/cuda:11.1.1-cudnn8-devel-ubuntu20.04@sha256:83e4b2841034cdf45ea5b9a5b472eb2 0.0s
=> [backend internal] load build context 0.0s
=> => transferring context: 7.45kB 0.0s
=> CACHED [backend 2/7] RUN apt-get update && apt-get install -y python3 python3-pip cmake wget llvm 0.0s
=> CACHED [backend 3/7] RUN apt-get install -y libglib2.0-0 libsm6 ffmpeg libxext6 libxrender-dev 0.0s
=> CACHED [backend 4/7] WORKDIR /translation-app-backend/Backend/ 0.0s
=> CACHED [backend 5/7] COPY ./Backend/requirements.txt requirements.txt 0.0s
=> ERROR [backend 6/7] RUN pip install -r requirements.txt 18.4s

[backend 6/7] RUN pip install -r requirements.txt:
1.446 Looking in links: https://download.pytorch.org/whl/cu113/torch_stable.html
3.366 Collecting Django==4.2.4
3.391 Downloading Django-4.2.4-py3-none-any.whl (8.0 MB)
5.125 Collecting django-cors-headers==4.2.0
5.133 Downloading django_cors_headers-4.2.0-py3-none-any.whl (12 kB)
5.702 Collecting djangorestframework==3.14.0
5.709 Downloading djangorestframework-3.14.0-py3-none-any.whl (1.1 MB)
7.480 Collecting firebase_admin==6.2.0
7.487 Downloading firebase_admin-6.2.0-py3-none-any.whl (119 kB)
9.169 Collecting python-dotenv==1.0.0
9.175 Downloading python_dotenv-1.0.0-py3-none-any.whl (19 kB)
10.17 Collecting psycopg2-binary==2.9.7
10.17 Downloading psycopg2_binary-2.9.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
11.96 Collecting gdown
11.96 Downloading gdown-5.2.0-py3-none-any.whl (18 kB)
13.89 Collecting opencv-python-headless
13.91 Downloading opencv_python_headless-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (49.9 MB)
17.72 Collecting networkx
17.74 Downloading https://download.pytorch.org/whl/networkx-3.2.1-py3-none-any.whl (1.6 MB)
18.17 ERROR: Package 'networkx' requires a different Python: 3.8.10 not in '>=3.9'


failed to solve: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant