gpt4 book ai didi

python - 安装 cuml 时出现 UnsatisfiableError

转载 作者:行者123 更新时间:2023-12-05 05:50:04 44 4
gpt4 key购买 nike

我正在使用 conda 安装 cuml

conda install -c rapidsai cuml=21.12

这是我得到的痕迹:

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.31=0
- cuml=21.12 -> cupy[version='>=7.8.0,<10.0.0a0'] -> __glibc[version='>=2.17|>=2.17,<3.0.a0']
- python=3.8 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.31

我的困惑是它说我需要一个大于 2.17 的 __glibc 版本,但我安装的是 2.31 版本。

最佳答案

忽略 Conda's poor conflict reporting ,RAPIDS 具有非常具体的 channel 规范(rapidsai > nvidia > conda-forge),因此这可能会影响求解。包含这些 channel 可能就足够了:

conda install -c rapidsai -c nvidia -c conda-forge cuml=21.12

但是,也可能是之前安装的某些东西阻止了正确安装。此外,当包需要专门的 channel 时,创建专用环境通常是更好的做法:

conda create -n cuml -c rapidsai -c nvidia -c conda-forge cuml=21.12

后者类似于the RAPIDS installation selector产生。

关于python - 安装 cuml 时出现 UnsatisfiableError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70585934/

44 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com