繁体   English   中英

由于不兼容的 glib,安装 RAPIDS 时的 conda 错误失败

[英]conda error on install for RAPIDS fails due to incompatible glib

操作系统:Linux 4.18.0-193.28.1.el8_2.x86_64 anaconda:anaconda3/2022.10

尝试安装 RAPIDS,我得到:

$ 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


$

正如其他人所问(但据我所知,没有回答),为什么“__glibc”版本 2.28 不在 2.17 和 3.0 之间?

请尝试使用完整安装命令,如入门指南中所示,它固定了 rapids、python 和 cuda 工具包版本,以及一些检索任何支持包的渠道:

conda install -c rapidsai -c conda-forge -c nvidia rapids=22.12 python=3.9 cudatoolkit=11.5

我有同样的问题。

我的解决方案是使用 python 3.8/3.9 创建一个新的 conda 环境,并使用 RAPIDS 推荐的 pip 安装(只需创建环境并安装 rapids)

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

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

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM