Search code examples
pythoncondarapids

conda error on install for RAPIDS fails due to incompatible glib


OS: Linux 4.18.0-193.28.1.el8_2.x86_64 anaconda: anaconda3/2022.10

Trying to install RAPIDS, I get:

$ conda install -c rapidsai rapids
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: | 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                                                                     

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.28=0
  - feature:|@/linux-64::__glibc==2.28=0
  - rapids -> cucim=22.12 -> __glibc[version='>=2.17|>=2.17,<3.0.a0']

Your installed version is: 2.28


$

As has been asked by others (but, as far as I can tell, not answered), why is "__glibc" version 2.28 not between 2.17 & 3.0?


Solution

  • i've got the same problem.

    My solution was to create a new conda enviroment with python 3.8/3.9 and use the pip installation recommended by RAPIDS (just create the env and install rapids)

    pip install cudf-cu11 dask-cudf-cu11 --extra-index-url=https://pypi.ngc.nvidia.com

    pip install cuml-cu11 --extra-index-url=https://pypi.ngc.nvidia.com

    pip install cugraph-cu11 --extra-index-url=https://pypi.ngc.nvidia.com