I am trying create a new docker file, that uses existing docker file: rapidsai/rapidsai:22.04-cuda11.0-runtime-ubuntu18.04-py3.8
and install two new packages on the existing Conda environment.
What I tried:
FROM rapidsai/rapidsai:22.04-cuda11.0-runtime-ubuntu18.04-py3.8
RUN conda install -c conda-forge omegaconf hydra --quiet -y
output:
executor failed running [/bin/bash -c conda install -c conda-forge omegaconf hydra --quiet -y]: exit code: 1
Full error:
> [3/3] RUN conda install -c conda-forge omegaconf hydra --quiet -y:
#6 0.617 Collecting package metadata (current_repodata.json): ...working... done
#6 7.476 Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
#6 9.007 Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
#6 11.50 Collecting package metadata (repodata.json): ...working... done
#6 42.37 Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
#6 76.52 Found conflicts! Looking for incompatible packages.
#6 76.52 This can take several minutes. Press CTRL-C to abort.
#6 76.52 failed
#6 76.52
#6 76.52 UnsatisfiableError: The following specifications were found
#6 76.52 to be incompatible with the existing python installation in your environment:
#6 76.52
#6 76.52 Specifications:
#6 76.52
#6 76.52 - hydra -> python[version='3.6.*|3.7.*|3.8.*']
#6 76.52 - hydra -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']
#6 76.52
#6 76.52 Your python: python=3.9
#6 76.52
#6 76.52 If python is on the left-most side of the chain, that's the version you've asked for.
#6 76.52 When python appears to the right, that indicates that the thing on the left is somehow
#6 76.52 not available for the python version you are constrained to. Note that conda will not
#6 76.52 change your python version to a different minor version unless you explicitly specify
#6 76.52 that.
#6 76.52
#6 76.52 The following specifications were found to be incompatible with each other:
#6 76.52
#6 76.52 Output in format: Requested package -> Available versions
#6 76.52
#6 76.52 Package pypy3.9 conflicts for:
#6 76.52 omegaconf -> python[version='>=3.9,<3.10.0a0'] -> pypy3.9[version='7.3.*|7.3.8.*|7.3.9.*']
#6 76.52 omegaconf -> pypy3.9[version='>=7.3.8|>=7.3.9']
#6 76.52
#6 76.52 Package _libgcc_mutex conflicts for:
#6 76.52 hydra -> libgcc-ng[version='>=9.3.0'] -> _libgcc_mutex[version='*|0.1',build='main|conda_forge']
#6 76.52 python=3.9 -> libgcc-ng[version='>=12'] -> _libgcc_mutex[version='*|0.1',build='main|conda_forge']
#6 76.52
#6 76.52 Package pypy3.7 conflicts for:
#6 76.52 omegaconf -> python[version='>=3.7,<3.8.0a0'] -> pypy3.7[version='7.3.*|7.3.3.*|7.3.4.*|7.3.5.*|7.3.7.*']
#6 76.52 omegaconf -> pypy3.7[version='>=7.3.3|>=7.3.5|>=7.3.7']
#6 76.52
#6 76.52 Package libsqlite conflicts for:
#6 76.52 omegaconf -> pypy3.9[version='>=7.3.9'] -> libsqlite[version='>=3.39.2,<4.0a0|>=3.39.4,<4.0a0']
#6 76.52 python=3.9 -> sqlite[version='>=3.38.5,<4.0a0'] -> libsqlite[version='3.39.2|3.39.3|3.39.4|>=3.39.4,<4.0a0|>=3.39.2,<4.0a0',build='h753d276_1|h753d276_0']
#6 76.52
#6 76.52 Package pypy3.6 conflicts for:
#6 76.52 hydra -> python[version='>=3.6,<3.7.0a0'] -> pypy3.6[version='7.3.0.*|7.3.1.*|7.3.2.*|7.3.3.*']
#6 76.52 omegaconf -> python[version='>=3.6,<3.7.0a0'] -> pypy3.6[version='7.3.*|7.3.0.*|7.3.1.*|7.3.2.*|7.3.3.*']
#6 76.52 omegaconf -> pypy3.6[version='>=7.3.1|>=7.3.2|>=7.3.3']
#6 76.52
#6 76.52 Package pypy3.8 conflicts for:
#6 76.52 omegaconf -> python[version='>=3.8,<3.9.0a0'] -> pypy3.8[version='7.3.*|7.3.8.*|7.3.9.*']
#6 76.52 omegaconf -> pypy3.8[version='>=7.3.8|>=7.3.9']
#6 76.52
------
executor failed running [/bin/bash -c conda install -c conda-forge omegaconf hydra --quiet -y]: exit code: 1
Thanks!