首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装cuml时的UnsatisfiableError

安装cuml时的UnsatisfiableError
EN

Stack Overflow用户
提问于 2022-01-04 22:49:20
回答 2查看 761关注 0票数 3

我正在使用conda安装cuml

conda install -c rapidsai cuml=21.12

这是我得到的痕迹:

代码语言:javascript
复制
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。

EN

回答 2

Stack Overflow用户

发布于 2022-01-05 01:13:56

忽略Conda糟糕的冲突报告,RAPIDS有非常特殊的信道规范(rapidsai > nvidia > conda-forge),这可能会影响解决方案。也许包括这些渠道就足够了:

代码语言:javascript
复制
conda install -c rapidsai -c nvidia -c conda-forge cuml=21.12

但是,以前安装的东西也可能会阻止正确的安装。此外,当软件包需要专门的通道时,通常更好的做法是创建一个专用环境:

代码语言:javascript
复制
conda create -n cuml -c rapidsai -c nvidia -c conda-forge cuml=21.12

后者类似于急流安装选择器生成的内容。

票数 1
EN

Stack Overflow用户

发布于 2022-04-13 20:25:35

除了尝试,这个

代码语言:javascript
复制
conda create -n cuml -c rapidsai -c nvidia -c conda-forge cuml=21.12

从@merv的前一篇文章中,只需尝试:

代码语言:javascript
复制
conda create -n cuml -c rapidsai -c nvidia -c conda-forge cuml

应该解决问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70585934

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档