LibMambaUnsatisfiableError installing clcache

Hi,

First time user here, so I am pretty unfamiliar with the conda way of doing things.

I am trying to set up a development environment for the gdal library. The instructions that were give to do this are:

  1. Install git (done)
  2. Install miniconda (done, following reccomendations)
  3. Install MS Visual Studio (done, installed VC 2022 plus older compilers)
  4. Run the following conda commands:
    conda create --name gdal
    conda activate gdal
    conda install --yes --quiet curl libiconv icu git python swig numpy pytest zlib

So far, so good. Conda installed the following for me:

blas pkgs/main/win-64::blas-1.0-mkl
bzip2 pkgs/main/win-64::bzip2-1.0.8-h2bbff1b_6
ca-certificates pkgs/main/win-64::ca-certificates-2025.2.25-haa95532_0
colorama pkgs/main/win-64::colorama-0.4.6-py313haa95532_0
curl pkgs/main/win-64::curl-8.14.1-heda7e69_0
expat pkgs/main/win-64::expat-2.7.1-h8ddb27b_0
git pkgs/main/win-64::git-2.45.2-haa95532_2
icu pkgs/main/win-64::icu-73.1-h6c2663c_0
iniconfig pkgs/main/noarch::iniconfig-1.1.1-pyhd3eb1b0_0
intel-openmp pkgs/main/win-64::intel-openmp-2023.1.0-h59b6b97_46320
libcurl pkgs/main/win-64::libcurl-8.14.1-ha9f67de_0
libffi pkgs/main/win-64::libffi-3.4.4-hd77b12b_1
libiconv pkgs/main/win-64::libiconv-1.16-h2bbff1b_3
libmpdec pkgs/main/win-64::libmpdec-4.0.0-h827c3e9_0
libssh2 pkgs/main/win-64::libssh2-1.11.1-h2addb87_0
lz4-c pkgs/main/win-64::lz4-c-1.9.4-h2bbff1b_1
mkl pkgs/main/win-64::mkl-2023.1.0-h6b88ed4_46358
mkl-service pkgs/main/win-64::mkl-service-2.4.0-py313h827c3e9_2
mkl_fft pkgs/main/win-64::mkl_fft-1.3.11-py313h827c3e9_0
mkl_random pkgs/main/win-64::mkl_random-1.2.8-py313hce38976_0
numpy pkgs/main/win-64::numpy-2.3.1-py313ha127e54_0
numpy-base pkgs/main/win-64::numpy-base-2.3.1-py313haaa8b43_0
openssl pkgs/main/win-64::openssl-3.0.16-h3f729d1_0
packaging pkgs/main/win-64::packaging-24.2-py313haa95532_0
pcre2 pkgs/main/win-64::pcre2-10.42-h0ff8eda_1
pip pkgs/main/noarch::pip-25.1-pyhc872135_2
pluggy pkgs/main/win-64::pluggy-1.5.0-py313haa95532_0
pygments pkgs/main/win-64::pygments-2.19.1-py313haa95532_0
pytest pkgs/main/win-64::pytest-8.4.1-py313haa95532_0
python pkgs/main/win-64::python-3.13.5-h286a616_100_cp313
python_abi pkgs/main/win-64::python_abi-3.13-0_cp313
setuptools pkgs/main/win-64::setuptools-72.1.0-py313haa95532_0
sqlite pkgs/main/win-64::sqlite-3.45.3-h2bbff1b_0
swig pkgs/main/win-64::swig-4.3.0-hf2fb9eb_0
tbb pkgs/main/win-64::tbb-2021.8.0-h59b6b97_0
tk pkgs/main/win-64::tk-8.6.14-h5e9d12e_1
tzdata pkgs/main/noarch::tzdata-2025b-h04d1e81_0
ucrt pkgs/main/win-64::ucrt-10.0.22621.0-haa95532_0
vc pkgs/main/win-64::vc-14.3-h2df5915_9
vc14_runtime pkgs/main/win-64::vc14_runtime-14.44.35208-h4927774_9
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.44.35208-ha6b5a95_9
wheel pkgs/main/win-64::wheel-0.45.1-py313haa95532_0
xz pkgs/main/win-64::xz-5.6.4-h4754444_1
zlib pkgs/main/win-64::zlib-1.2.13-h8cc25b3_1
zstd pkgs/main/win-64::zstd-1.5.6-h8880b57_0

  1. The next step was to install the compilers, however this failed with a dependency error. I have tried googling to figure out what this means but I didn’t come up with anything. Can someone help me understand what I am doing wrong?

conda install --yes --quiet -c conda-forge compilers clcache

(gdal) C:\Users\tmoore> conda install --yes -c conda-forge compilers clcache
Channels:

  • conda-forge
  • defaults
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides vc 10.* needed by python-3.4.5-0

Could not solve for environment specs
The following packages are incompatible
├─ clcache =* * is installable with the potential options
│ ├─ clcache 4.2.0 would require
│ │ └─ python >=3.10,<3.11.0a0 *, which can be installed;
│ ├─ clcache [4.1.0|4.2.0] would require
│ │ └─ python >=3.8,<3.9.0a0 *, which can be installed;
│ ├─ clcache [4.1.0|4.2.0] would require
│ │ └─ python >=3.9,<3.10.0a0 *, which can be installed;
│ ├─ clcache 3.3.0 would require
│ │ └─ python =3.4 * but there are no viable options
│ │ ├─ python 3.4.5 would require
│ │ │ └─ vc =10 , which does not exist (perhaps a missing channel);
│ │ └─ python 3.4.5 would require
│ │ └─ vs2010_runtime =
*, which does not exist (perhaps a missing channel);
│ ├─ clcache [3.3.0|4.0.0|4.1.0] would require
│ │ └─ python [=3.5 *|>=3.5,<3.6.0a0 *], which can be installed;
│ ├─ clcache [4.0.0|4.1.0] would require
│ │ └─ python =3.6 *, which can be installed;
│ ├─ clcache [4.1.0|4.2.0] would require
│ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ └─ clcache 4.1.0 would require
│ └─ python >=3.7,<3.8.0a0 , which can be installed;
└─ pin on python 3.13.
=
* is not installable because it requires
└─ python =3.13 *, which conflicts with any installable versions previously reported.

Pins seem to be involved in the conflict. Currently pinned specs:

  • python=3.13

Thanks, Tom

I read the error message more closely and read about the dependency solver, and investigated the clcache package. It turns out that clcache has not been updated since February 2020. As the error message clearly indicates, clcache-4.2.0 (the most recent release) has a dependency on python version no earlier than 3.10 and no later than 3.11.0a0), and newer pythons are not supported. By default conda installed (and pinned) python 3.13 which is the the latest stable version, thus the unsatisfied dependency.

I changed the conda python install command to python=3.10 and the rest worked without a hitch.