-
Notifications
You must be signed in to change notification settings - Fork 6
Description
i am trying to setup the docker image but getting the following error
[+] Building 12.4s (8/9) docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.57kB 0.0s
=> [internal] load metadata for docker.io/nvidia/cuda:11.1.1-cudnn8-devel-ubuntu18.04 0.4s
=> [auth] nvidia/cuda:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 78B 0.0s
=> [1/6] FROM docker.io/nvidia/cuda:11.1.1-cudnn8-devel-ubuntu18.04@sha256:1f181384de58303eb71b70854033fa0774a3212ac6824ad07859c96f91e98fac 0.0s
=> CACHED [2/6] RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates git wget vim cmake ninja-build build-essential curl libjpeg- 0.0s
=> CACHED [3/6] WORKDIR /opt 0.0s
=> ERROR [4/6] RUN curl -o ~/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && chmod +x ~/miniconda.sh && ~/miniconda 11.9s
[4/6] RUN curl -o ~/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && chmod +x ~/miniconda.sh && ~/miniconda.sh -b -p /opt/conda && rm ~/miniconda.sh && /opt/conda/bin/conda install -y python=3.7 && /opt/conda/bin/conda install -y pytorch=1.8.2 torchvision=0.9.2 cudatoolkit=11.1 -c pytorch-lts -c nvidia && /opt/conda/bin/conda install -y tensorboard pycairo matplotlib scikit-image jupyter ninja cython typing future pytest scipy scikit-learn && /opt/conda/bin/conda install -y -c conda-forge plyfile && /opt/conda/bin/python -m pip install -U pycocotools==2.0.4 shapely==1.8.0 opencv-contrib-python==4.5.5.62 kornia==0.6.2 glfw ipympl pyrr future-fstrings PyOpenGL PyOpenGL_accelerate && /opt/conda/bin/conda clean -ya:
0.279 % Total % Received % Xferd Average Speed Time Time Time Current
0.279 Dload Upload Total Spent Left Speed
100 147M 100 147M 0 0 37.4M 0 0:00:03 0:00:03 --:--:-- 37.4M
4.227 PREFIX=/opt/conda
4.483 Unpacking payload ...
6.600
6.600 Installing base environment...
6.600
7.100 Preparing transaction: ...working... done
7.297 Executing transaction: ...working... done
9.349 installation finished.
9.907 Channels:
9.907 - defaults
9.907 Platform: linux-64
9.907 Collecting package metadata (repodata.json): ...working... done
10.73 Solving environment: ...working... failed
11.57
11.57 LibMambaUnsatisfiableError: Encountered problems while solving:
11.57 - package conda-25.1.1-py312h06a4308_0 has constraint conda-anaconda-telemetry >=0.1.2 conflicting with conda-anaconda-telemetry-0.1.1-py39h06a4308_0
11.57
11.57 Could not solve for environment specs
11.57 The following packages are incompatible
11.57 ├─ anaconda-anon-usage =* * is installable with the potential options
11.57 │ ├─ anaconda-anon-usage [0.2.0|0.3.0|...|0.6.1] would require
11.57 │ │ └─ python >=3.10,<3.11.0a0 *, which can be installed;
11.57 │ ├─ anaconda-anon-usage [0.2.0|0.3.0|...|0.6.1] would require
11.57 │ │ └─ python >=3.11,<3.12.0a0 *, which can be installed;
11.57 │ ├─ anaconda-anon-usage [0.2.0|0.3.0|...|0.4.4] would require
11.57 │ │ └─ python >=3.8,<3.9.0a0 *, which can be installed;
11.57 │ ├─ anaconda-anon-usage [0.2.0|0.3.0|...|0.6.1] would require
11.57 │ │ └─ python >=3.9,<3.10.0a0 *, which can be installed;
11.57 │ ├─ anaconda-anon-usage [0.4.0|0.4.1|...|0.6.1], which can be installed;
11.57 │ └─ anaconda-anon-usage [0.4.3|0.4.4|0.5.0|0.6.1] would require
11.57 │ └─ python >=3.12,<3.13.0a0 , which can be installed;
11.57 ├─ conda-anaconda-telemetry = * is installable with the potential options
11.57 │ ├─ conda-anaconda-telemetry [0.1.1|0.1.2] would require
11.57 │ │ └─ conda >=24.11 *, which requires
11.57 │ │ └─ conda-anaconda-telemetry >=0.1.2 *, which conflicts with any installable versions previously reported;
11.57 │ ├─ conda-anaconda-telemetry 0.1.2 would require
11.57 │ │ └─ python >=3.11,<3.12.0a0 *, which can be installed;
11.57 │ └─ conda-anaconda-telemetry 0.1.2 would require
11.57 │ └─ python >=3.12,<3.13.0a0 *, which can be installed;
11.57 └─ python =3.7 * is not installable because it conflicts with any installable versions previously reported.
11.57
5 warnings found (use docker --debug to expand):
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 31)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 32)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 5)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 14)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 15)
Dockerfile:17
16 |
17 | >>> RUN curl -o ~/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
18 | >>> && chmod +x ~/miniconda.sh
19 | >>> && ~/miniconda.sh -b -p /opt/conda
20 | >>> && rm ~/miniconda.sh
21 | >>> && /opt/conda/bin/conda install -y python=3.7
22 | >>> && /opt/conda/bin/conda install -y pytorch=1.8.2 torchvision=0.9.2 cudatoolkit=11.1 -c pytorch-lts -c nvidia
23 | >>> && /opt/conda/bin/conda install -y tensorboard pycairo matplotlib scikit-image jupyter ninja cython
24 | >>> typing future pytest scipy scikit-learn
25 | >>> && /opt/conda/bin/conda install -y -c conda-forge plyfile
26 | >>> && /opt/conda/bin/python -m pip install -U pycocotools==2.0.4
27 | >>> shapely==1.8.0 opencv-contrib-python==4.5.5.62 kornia==0.6.2
28 | >>> glfw ipympl pyrr future-fstrings PyOpenGL PyOpenGL_accelerate
29 | >>> && /opt/conda/bin/conda clean -ya
30 |
ERROR: failed to solve: process "/bin/sh -c curl -o ~/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && chmod +x ~/miniconda.sh && ~/miniconda.sh -b -p /opt/conda && rm ~/miniconda.sh && /opt/conda/bin/conda install -y python=3.7 \t && /opt/conda/bin/conda install -y pytorch=1.8.2 torchvision=0.9.2 cudatoolkit=11.1 -c pytorch-lts -c nvidia \t && /opt/conda/bin/conda install -y tensorboard pycairo matplotlib scikit-image jupyter ninja cython \t \t\ttyping future pytest scipy scikit-learn \t && /opt/conda/bin/conda install -y -c conda-forge plyfile \t && /opt/conda/bin/python -m pip install -U pycocotools==2.0.4 \t \t\tshapely==1.8.0 opencv-contrib-python==4.5.5.62 kornia==0.6.2 \t\t\tglfw ipympl pyrr future-fstrings PyOpenGL PyOpenGL_accelerate \t && /opt/conda/bin/conda clean -ya" did not complete successfully: exit code: 1
PS F:\Downloads\DeepFormableTag-master\DeepFormableTag-master>