conda - UnsatisfiableError glibc 和 cudatoolkit

标签 conda

conda install  -c anaconda -c conda-forge -c nvidia cudatoolkit=11 tensorflow-gpu=2
我想安装 cudatoolkit=11 和 tensorflow-gpu=2,但是 conda 给了我以下错误信息
UnsatisfiableError: The following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.31=0
  - cudatoolkit=11 -> __glibc[version='>=2.17,<3.0.a0']

Your installed version is: 2.31
如果我跑
conda install  -c anaconda -c conda-forge -c nvidia cudatoolkit=11
conda 可以成功安装 cudatoolkit=11。
既然glibc是系统特性,为什么自己安装cudatoolkit就可以了?
为什么 glic 2.31 不在 >=2.17,<3.0.a0 范围内?

最佳答案

将 anaconda 更新到最新版本解决了我的问题。
试试 conda update conda ?

关于conda - UnsatisfiableError glibc 和 cudatoolkit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66914685/

相关文章:

python - 安装 Python 包时选择 pip 与 conda 的具体原因

python - 如何激活 Anaconda 环境

python - 如何在 Julia 中使用先前安装的 Miniconda 中的包?

python - 如何用conda安装最新的开发版Python?

shell - conda env 名称破坏了 oh-my-zsh 格式

anaconda - 从头开始重新安装 conda 和软件包

python - Conda 软件包安装 [Errno 13] 安装 conda-forge::protobuf-3.8.0 时权限被拒绝

conda 安装 wget 后的 conda "No module named wget"

windows - 从 Windows 上的 Anaconda 安装调用 "conda run"的语法是什么?

python - 从源文件中获取 conda meta.yaml 的包版本